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/PreprocessingDataTableView.cs

    r10914 r10952  
    3939    protected List<Series> invisibleSeries;
    4040    protected Dictionary<IObservableList<double>, DataRow> valuesRowsTable;
     41    private event EventHandler chartDoubleClick;
    4142
    4243    public new PreprocessingDataTable Content {
     
    759760    }
    760761
     762    public event EventHandler ChartDoubleClick {
     763      add { chartDoubleClick += value; }
     764      remove { chartDoubleClick -= value; }
     765    }
     766
    761767    #region Helpers
    762768    public static IEnumerable<double> DoubleRange(double min, double max, double step) {
     
    816822    }
    817823    #endregion
     824
     825    //bubble double click event with data table view as sender
     826    private void chart_DoubleClick(object sender, EventArgs e) {
     827      if (chartDoubleClick != null)
     828        chartDoubleClick(this, e);
     829    }
    818830  }
    819831}
Note: See TracChangeset for help on using the changeset viewer.