Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/02/16 15:37:51 (7 years ago)
Author:
pfleck
Message:

#2709 Removed the PreprocessingScatterPlotView and use the HL ScatterPlotControl instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing.Views/3.4/ScatterPlotSingleView.cs

    r14185 r14446  
    8888    private void UpdateScatterPlot() {
    8989      if (comboBoxXVariable.SelectedItem != null && comboBoxYVariable.SelectedItem != null && comboBoxColor.SelectedItem != null) {
    90         //get scatter plot with selected x and y variable
    91         ScatterPlot scatterPlot = Content.CreateScatterPlot(
    92           (string)comboBoxXVariable.SelectedItem,
    93           (string)comboBoxYVariable.SelectedItem,
    94           (string)comboBoxColor.SelectedItem);
    95         scatterPlotView.Content = scatterPlot;
     90        var xVariable = (string)comboBoxXVariable.SelectedItem;
     91        var yVariable = (string)comboBoxYVariable.SelectedItem;
     92        var colorVariable = (string)comboBoxColor.SelectedItem;
     93        ScatterPlot scatterPlot = Content.CreateScatterPlot(xVariable, yVariable, colorVariable);
     94        var vp = scatterPlot.VisualProperties;
     95        vp.Title = string.Empty;
     96        vp.XAxisTitle = xVariable;
     97        vp.YAxisTitle = yVariable;
    9698
     99        scatterPlotControl.Content = scatterPlot;
     100       
    97101        //save selected x and y variable in content
    98102        this.Content.SelectedXVariable = (string)comboBoxXVariable.SelectedItem;
Note: See TracChangeset for help on using the changeset viewer.