Changeset 4812


Ignore:
Timestamp:
11/16/10 14:38:42 (8 years ago)
Author:
mkommend
Message:

Deactivated jitter and automatic coloring if no axis are chosen in the RunCollectionBubbleChartView (ticket #1272).

Location:
trunk/sources/HeuristicLab.Optimization.Views/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.Designer.cs

    r4799 r4812  
    9898      //
    9999      this.xTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     100      this.xTrackBar.Enabled = false;
    100101      this.xTrackBar.Location = new System.Drawing.Point(673, 313);
    101102      this.xTrackBar.Maximum = 100;
     
    150151      // yTrackBar
    151152      //
     153      this.yTrackBar.Enabled = false;
    152154      this.yTrackBar.Location = new System.Drawing.Point(388, 3);
    153155      this.yTrackBar.Maximum = 100;
     
    270272      //
    271273      this.colorXAxisButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     274      this.colorXAxisButton.Enabled = false;
    272275      this.colorXAxisButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.DisplayInColor;
    273276      this.colorXAxisButton.Location = new System.Drawing.Point(605, 313);
     
    291294      // colorYAxisButton
    292295      //
     296      this.colorYAxisButton.Enabled = false;
    293297      this.colorYAxisButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.DisplayInColor;
    294298      this.colorYAxisButton.Location = new System.Drawing.Point(251, 3);
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.cs

    r4808 r4812  
    505505
    506506    private void AxisComboBox_SelectedIndexChanged(object sender, EventArgs e) {
     507      bool axisSelected = xAxisComboBox.SelectedIndex != -1 && yAxisComboBox.SelectedIndex != -1;
     508      xTrackBar.Enabled = yTrackBar.Enabled = axisSelected;
     509      colorXAxisButton.Enabled = colorYAxisButton.Enabled = axisSelected;
    507510      UpdateDataPoints();
    508511      UpdateAxisLabels();
Note: See TracChangeset for help on using the changeset viewer.