Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 1193 was 1193, checked in by cbahner, 16 years ago

#320 added DataRowType: Normal or SingleValue for Aggregators (performance for drawing)

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