Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 1389 was 1350, checked in by mstoeger, 16 years ago

Implemented multiple Y-Axes. A LineChart has several Y-Axes and each Y-Axis has several data rows. The same clipping area is set for all data rows belonging to a Y-Axis. (#433)

File size: 1006 bytes
RevLine 
[761]1using System.Drawing;
2
3namespace HeuristicLab.Visualization {
[1193]4  public enum DataRowType {
5    Normal, SingleValue
6  }
[1325]7
[761]8  public interface IDataRow {
9    string Label { get; set; }
10    Color Color { get; set; }
11    int Thickness { get; set; }
12    DrawingStyle Style { get; set; }
[1193]13    DataRowType LineType { get; set; }
[1343]14 
[1350]15    YAxisDescriptor YAxis { get; set; }
[761]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
[1285]31    double MinValue { get; }
32    double MaxValue { get; }
33
[761]34    event ValuesChangedHandler ValuesChanged;
35    event ValueChangedHandler ValueChanged;
[1325]36    event DataRowChangedHandler DataRowChanged;
[761]37  }
38}
Note: See TracBrowser for help on using the repository browser.