Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/07/14 15:15:45 (10 years ago)
Author:
psteiner
Message:

Persistence of charting congfiguration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/HistogramView.cs

    r10771 r10818  
    1616      chartType = DataRowVisualProperties.DataRowChartType.Histogram;
    1717      chartTitle = HISTOGRAM_CHART_TITLE;
    18       allInOneMode = false;
    1918    }
    2019
     
    2524
    2625    private void allInOneCheckBox_CheckedChanged(object sender, EventArgs e) {
    27       if (allInOneMode == false)
    28         allInOneMode = true;
     26      if (allInOneCheckBox.Checked)
     27        Content.AllInOneMode = true;
    2928      else
    30         allInOneMode = false;
     29        Content.AllInOneMode = false;
    3130      GenerateChart();
     31    }
     32
     33    protected override void OnContentChanged()
     34    {
     35      base.OnContentChanged();
     36      if (Content != null)
     37      {
     38        allInOneCheckBox.Checked = Content.AllInOneMode;
     39      }
    3240    }
    3341
Note: See TracChangeset for help on using the changeset viewer.