Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/15/11 14:54:43 (13 years ago)
Author:
abeham
Message:

#1465

  • updated branch with changes from trunk
  • fixed some bugs
  • introduced secondary x-axis option
Location:
branches/histogram
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/histogram

  • branches/histogram/HeuristicLab.Analysis.Views/3.3/DataRowVisualPropertiesControl.cs

    r6010 r6011  
    5353          colorButton.BackColor = SystemColors.Control;
    5454          secondYAxisCheckBox.Checked = false;
     55          secondXAxisCheckBox.Checked = false;
    5556          startIndexZeroCheckBox.Checked = false;
    5657          binsNumericUpDown.Value = 1;
     
    5859        } else {
    5960          chartTypeComboBox.SelectedItem = Content.ChartType;
    60           colorButton.BackColor = Content.Color;
     61          if (Content.Color.IsEmpty) {
     62            colorButton.BackColor = SystemColors.Control;
     63            colorButton.Text = "?";
     64          } else colorButton.BackColor = Content.Color;
    6165          secondYAxisCheckBox.Checked = Content.SecondYAxis;
     66          secondXAxisCheckBox.Checked = Content.SecondXAxis;
    6267          startIndexZeroCheckBox.Checked = Content.StartIndexZero;
    6368          binsNumericUpDown.Value = Content.Bins;
     
    8590        Content.Color = colorDialog.Color;
    8691        colorButton.BackColor = Content.Color;
     92        colorButton.Text = String.Empty;
    8793      }
    8894    }
     
    9197      if (!SuppressEvents && Content != null) {
    9298        Content.SecondYAxis = secondYAxisCheckBox.Checked;
     99      }
     100    }
     101
     102    private void secondXAxisCheckBox_CheckedChanged(object sender, EventArgs e) {
     103      if (!SuppressEvents && Content != null) {
     104        Content.SecondXAxis = secondXAxisCheckBox.Checked;
    93105      }
    94106    }
Note: See TracChangeset for help on using the changeset viewer.