Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Visualization/3.2/IDataRow.cs @ 1992

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

#639 added color and y axis assignment to persistance

File size: 1.2 KB
RevLine 
[1988]1using System.Xml;
[1962]2using HeuristicLab.Visualization.Options;
[761]3
4namespace HeuristicLab.Visualization {
[1193]5  public enum DataRowType {
[1883]6    Normal, SingleValue,
7    Points
[1193]8  }
[1325]9
[761]10  public interface IDataRow {
[1976]11    string Label { get; }
[1962]12    //Color Color { get; set; }
13    //int Thickness { get; set; }
[1972]14//    DrawingStyle Style { get; set; }
15//    DataRowType LineType { get; set; }
16//    bool ShowMarkers { get; set; }
[1962]17    DataRowSettings RowSettings { get; set; }
[1343]18 
[1350]19    YAxisDescriptor YAxis { get; set; }
[761]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
[1285]35    double MinValue { get; }
36    double MaxValue { get; }
37
[1988]38    XmlNode ToXml(IDataRow row, XmlDocument document);
39    IDataRow FromXml(XmlNode xmlNode);
40
[761]41    event ValuesChangedHandler ValuesChanged;
42    event ValueChangedHandler ValueChanged;
[1325]43    event DataRowChangedHandler DataRowChanged;
[761]44  }
45}
Note: See TracBrowser for help on using the repository browser.