Last change
on this file since 1500 was
1350,
checked in by mstoeger, 15 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
|
Line | |
---|
1 | using System.Drawing;
|
---|
2 |
|
---|
3 | namespace HeuristicLab.Visualization {
|
---|
4 | public enum DataRowType {
|
---|
5 | Normal, SingleValue
|
---|
6 | }
|
---|
7 |
|
---|
8 | public interface IDataRow {
|
---|
9 | string Label { get; set; }
|
---|
10 | Color Color { get; set; }
|
---|
11 | int Thickness { get; set; }
|
---|
12 | DrawingStyle Style { get; set; }
|
---|
13 | DataRowType LineType { get; set; }
|
---|
14 |
|
---|
15 | YAxisDescriptor YAxis { get; set; }
|
---|
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 |
|
---|
31 | double MinValue { get; }
|
---|
32 | double MaxValue { get; }
|
---|
33 |
|
---|
34 | event ValuesChangedHandler ValuesChanged;
|
---|
35 | event ValueChangedHandler ValueChanged;
|
---|
36 | event DataRowChangedHandler DataRowChanged;
|
---|
37 | }
|
---|
38 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.