Changeset 10952 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingScatterPlotView.cs
- Timestamp:
- 06/04/14 15:32:33 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingScatterPlotView.cs
r10915 r10952 39 39 protected List<Series> invisibleSeries; 40 40 protected Dictionary<IObservableList<Point2D<double>>, ScatterPlotDataRow> pointsRowsTable; 41 private event EventHandler chartDoubleClick; 41 42 42 43 public new ScatterPlot Content { … … 220 221 double yZoomInterval = Math.Pow(10, digits); 221 222 this.chart.ChartAreas[0].CursorY.Interval = yZoomInterval; 223 } 224 225 226 public event EventHandler ChartDoubleClick { 227 add { chartDoubleClick += value; } 228 remove { chartDoubleClick -= value; } 222 229 } 223 230 … … 450 457 } 451 458 #endregion 459 460 //bubble double click event with scatter plot view as sender 461 private void chart_DoubleClick(object sender, EventArgs e) { 462 if (chartDoubleClick != null) 463 chartDoubleClick(this, e); 464 } 452 465 } 453 466 }
Note: See TracChangeset
for help on using the changeset viewer.