Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/16/09 19:42:17 (15 years ago)
Author:
mstoeger
Message:

Implemented multiple Y-Axes. A LineChart has several Y-Axes and each Y-Axis has several data rows. The same clipping area is set for all data rows belonging to a Y-Axis. (#433)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/Options/OptionsDialog.cs

    r1345 r1350  
    5252
    5353    private void InitTabPageYAxes() {
    54       for (int i = 0; i < model.Rows.Count; i++) {
    55         IDataRow row = model.Rows[i];
     54      for (int i = 0; i < model.YAxes.Count; i++) {
     55        YAxisDescriptor yAxisDescriptor = model.YAxes[i];
    5656
    5757        CheckBox chkbox = new CheckBox();
    58         chkbox.Text = row.Label;
    59         chkbox.Checked = row.ShowYAxis;
    60         chkbox.CheckedChanged += delegate { row.ShowYAxis = chkbox.Checked; };
     58        chkbox.Text = yAxisDescriptor.Label;
     59        chkbox.Checked = yAxisDescriptor.ShowYAxis;
     60        chkbox.CheckedChanged += delegate { yAxisDescriptor.ShowYAxis = chkbox.Checked; };
    6161       
    6262        dataRowsFlowLayout.Controls.Add(chkbox);
Note: See TracChangeset for help on using the changeset viewer.