Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Visualization/IDataRow.cs @ 1194

Last change on this file since 1194 was 1194, checked in by mstoeger, 15 years ago

Implemented a continuous-, discrete- and string- label provider for the X/Y axis labels. (#433)

File size: 957 bytes
Line 
1using System.Drawing;
2using HeuristicLab.Visualization.LabelProvider;
3
4namespace HeuristicLab.Visualization {
5
6  public enum DataRowType {
7    Normal, SingleValue
8  }
9 
10  public interface IDataRow {
11    string Label { get; set; }
12    Color Color { get; set; }
13    int Thickness { get; set; }
14    DrawingStyle Style { get; set; }
15    DataRowType LineType { get; set; }
16    ILabelProvider YAxisLabelProvider { 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    event ValuesChangedHandler ValuesChanged;
33    event ValueChangedHandler ValueChanged;
34  }
35}
Note: See TracBrowser for help on using the repository browser.