Last change
on this file since 1346 was
1343,
checked in by mstoeger, 15 years ago
|
Display of Y-Axes can be individually switched on and off in the options dialog. (#433)
|
File size:
1.2 KB
|
Line | |
---|
1 | using System.Drawing;
|
---|
2 | using HeuristicLab.Visualization.LabelProvider;
|
---|
3 |
|
---|
4 | namespace HeuristicLab.Visualization {
|
---|
5 |
|
---|
6 | public enum DataRowType {
|
---|
7 | Normal, SingleValue
|
---|
8 | }
|
---|
9 |
|
---|
10 | public interface IDataRow {
|
---|
11 | string Label { get; set; }
|
---|
12 | Color Color { get; set; }
|
---|
13 | int Thickness { get; set; }
|
---|
14 | DrawingStyle Style { get; set; }
|
---|
15 | DataRowType LineType { get; set; }
|
---|
16 |
|
---|
17 | bool ShowYAxis { get; set; }
|
---|
18 | ILabelProvider YAxisLabelProvider { get; set; }
|
---|
19 |
|
---|
20 | /// <summary>
|
---|
21 | /// Raised when data row data changed. Should cause redraw in the view.
|
---|
22 | /// </summary>
|
---|
23 |
|
---|
24 | void AddValue(double value);
|
---|
25 | void AddValue(double value, int index);
|
---|
26 | void AddValues(double[] values);
|
---|
27 | void AddValues(double[] values, int index);
|
---|
28 |
|
---|
29 | void ModifyValue(double value, int index);
|
---|
30 | void ModifyValues(double[] values, int index);
|
---|
31 |
|
---|
32 | void RemoveValue(int index);
|
---|
33 | void RemoveValues(int index, int count);
|
---|
34 |
|
---|
35 | int Count { get; }
|
---|
36 | double this[int index] { get; set; }
|
---|
37 |
|
---|
38 | double MinValue { get; }
|
---|
39 | double MaxValue { get; }
|
---|
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.