Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/25/12 15:55:30 (13 years ago)
Author:
sforsten
Message:

#1811: tool tip has been implemented as suggested by mkommend

Location:
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionErrorCharacteristicsCurveView.Designer.cs

    r8102 r8105  
    3030      this.label1 = new System.Windows.Forms.Label();
    3131      this.cmbSamples = new System.Windows.Forms.ComboBox();
    32       this.LegendToolTip = new System.Windows.Forms.ToolTip(this.components);
    3332      ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit();
    3433      this.SuspendLayout();
     
    9190    protected System.Windows.Forms.Label label1;
    9291    protected System.Windows.Forms.ComboBox cmbSamples;
    93     private System.Windows.Forms.ToolTip LegendToolTip;
    9492  }
    9593}
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionErrorCharacteristicsCurveView.cs

    r8102 r8105  
    115115      baselineSeries.ToolTip = "Area over Curve: " + CalculateAreaOverCurve(baselineSeries);
    116116      baselineSeries.Tag = constantModel;
     117      baselineSeries.LegendToolTip = "Double-click to open model";
    117118      chart.Series.Add(baselineSeries);
    118119
     
    129130      UpdateSeries(estimatedValues, solutionSeries);
    130131      solutionSeries.ToolTip = "Area over Curve: " + CalculateAreaOverCurve(solutionSeries);
     132      solutionSeries.LegendToolTip = "Double-click to open model";
    131133      chart.Series.Add(solutionSeries);
    132134    }
     
    243245      if (result.ChartElementType == ChartElementType.LegendItem) {
    244246        Cursor = Cursors.Hand;
    245         LegendToolTip.SetToolTip(chart, "Double-click to open model");
    246247      } else {
    247248        Cursor = Cursors.Default;
    248         LegendToolTip.RemoveAll();
    249249      }
    250250    }
Note: See TracChangeset for help on using the changeset viewer.