Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 1904 was 1883, checked in by dwagner, 15 years ago

Bug fix: No marker on first added value (#581)
New feature: Tooltip, which shows the world-values on mouseover event of a datapoint. (#638)
New feature: New Linetype Points, which is a line consisting only of the markers (#637)

File size: 1.0 KB
Line 
1using System.Drawing;
2
3namespace HeuristicLab.Visualization {
4  public enum DataRowType {
5    Normal, SingleValue,
6    Points
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    bool ShowMarkers { get; set; }
16 
17    YAxisDescriptor YAxis { get; set; }
18
19    void AddValue(double value);
20    void AddValue(double value, int index);
21    void AddValues(double[] values);
22    void AddValues(double[] values, int index);
23
24    void ModifyValue(double value, int index);
25    void ModifyValues(double[] values, int index);
26
27    void RemoveValue(int index);
28    void RemoveValues(int index, int count);
29
30    int Count { get; }
31    double this[int index] { get; set; }
32
33    double MinValue { get; }
34    double MaxValue { get; }
35
36    event ValuesChangedHandler ValuesChanged;
37    event ValueChangedHandler ValueChanged;
38    event DataRowChangedHandler DataRowChanged;
39  }
40}
Note: See TracBrowser for help on using the repository browser.