Changeset 6094 for trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.cs
- Timestamp:
- 05/02/11 14:10:37 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.cs
r6026 r6094 433 433 #region Drag & drop and tooltip 434 434 private void chart_MouseDoubleClick(object sender, MouseEventArgs e) { 435 HitTestResult h = this.chart.HitTest(e.X, e.Y );435 HitTestResult h = this.chart.HitTest(e.X, e.Y, ChartElementType.DataPoint); 436 436 if (h.ChartElementType == ChartElementType.DataPoint) { 437 437 IRun run = (IRun)((DataPoint)h.Object).Tag; … … 557 557 colorXAxisButton.Enabled = colorYAxisButton.Enabled = axisSelected; 558 558 559 if (!xAxisComboBox.DroppedDown)560 xAxisValue = (string)xAxisComboBox.SelectedItem;561 if (!yAxisComboBox.DroppedDown)562 yAxisValue = (string)yAxisComboBox.SelectedItem; 563 if (!sizeComboBox.DroppedDown)564 sizeAxisValue = (string)sizeComboBox.SelectedItem;559 xAxisValue = (string)xAxisComboBox.SelectedItem; 560 yAxisValue = (string)yAxisComboBox.SelectedItem; 561 sizeAxisValue = (string)sizeComboBox.SelectedItem; 562 563 chart.ChartAreas[0].AxisX.IsMarginVisible = xAxisValue != AxisDimension.Index.ToString() ; 564 chart.ChartAreas[0].AxisY.IsMarginVisible = yAxisValue != AxisDimension.Index.ToString(); 565 565 566 566 UpdateDataPoints();
Note: See TracChangeset
for help on using the changeset viewer.