Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/04/14 15:32:33 (10 years ago)
Author:
aesterer
Message:

Completed scatter plot view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingScatterPlotView.cs

    r10915 r10952  
    3939    protected List<Series> invisibleSeries;
    4040    protected Dictionary<IObservableList<Point2D<double>>, ScatterPlotDataRow> pointsRowsTable;
     41    private event EventHandler chartDoubleClick;
    4142
    4243    public new ScatterPlot Content {
     
    220221      double yZoomInterval = Math.Pow(10, digits);
    221222      this.chart.ChartAreas[0].CursorY.Interval = yZoomInterval;
     223    }
     224
     225
     226    public event EventHandler ChartDoubleClick {
     227      add { chartDoubleClick += value; }
     228      remove { chartDoubleClick -= value; }
    222229    }
    223230
     
    450457    }
    451458    #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    }
    452465  }
    453466}
Note: See TracChangeset for help on using the changeset viewer.