Free cookie consent management tool by TermsFeed Policy Generator

source: branches/Operator Architecture Refactoring/HeuristicLab.Visualization/3.2/IDataRow.cs @ 2173

Last change on this file since 2173 was 1988, checked in by cbahner, 15 years ago

#639 added color and y axis assignment to persistance

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