Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Hive_Milestone2/sources/HeuristicLab.Visualization/3.2/IDataRow.cs @ 6452

Last change on this file since 6452 was 1561, checked in by dwagner, 16 years ago

Added functionality: Checkbox to enable/disable Markers for every datapoint added to OptionsDialog. (#581)

File size: 1.0 KB
Line 
1using System.Drawing;
2
3namespace HeuristicLab.Visualization {
4  public enum DataRowType {
5    Normal, SingleValue
6  }
7
8  public interface IDataRow {
9    string Label { get; set; }
10    Color Color { get; set; }
11    int Thickness { get; set; }
12    DrawingStyle Style { get; set; }
13    DataRowType LineType { get; set; }
14    bool ShowMarkers { get; set; }
15 
16    YAxisDescriptor YAxis { get; set; }
17
18    void AddValue(double value);
19    void AddValue(double value, int index);
20    void AddValues(double[] values);
21    void AddValues(double[] values, int index);
22
23    void ModifyValue(double value, int index);
24    void ModifyValues(double[] values, int index);
25
26    void RemoveValue(int index);
27    void RemoveValues(int index, int count);
28
29    int Count { get; }
30    double this[int index] { get; set; }
31
32    double MinValue { get; }
33    double MaxValue { get; }
34
35    event ValuesChangedHandler ValuesChanged;
36    event ValueChangedHandler ValueChanged;
37    event DataRowChangedHandler DataRowChanged;
38  }
39}
Note: See TracBrowser for help on using the repository browser.