Last change
on this file since 1346 was
1343,
checked in by mstoeger, 16 years ago
|
Display of Y-Axes can be individually switched on and off in the options dialog. (#433)
|
File size:
1.2 KB
|
Rev | Line | |
---|
[761] | 1 | using System.Drawing;
|
---|
[1194] | 2 | using HeuristicLab.Visualization.LabelProvider;
|
---|
[761] | 3 |
|
---|
| 4 | namespace HeuristicLab.Visualization {
|
---|
[1193] | 5 |
|
---|
| 6 | public enum DataRowType {
|
---|
| 7 | Normal, SingleValue
|
---|
| 8 | }
|
---|
[1325] | 9 |
|
---|
[761] | 10 | public interface IDataRow {
|
---|
| 11 | string Label { get; set; }
|
---|
| 12 | Color Color { get; set; }
|
---|
| 13 | int Thickness { get; set; }
|
---|
| 14 | DrawingStyle Style { get; set; }
|
---|
[1193] | 15 | DataRowType LineType { get; set; }
|
---|
[1343] | 16 |
|
---|
| 17 | bool ShowYAxis { get; set; }
|
---|
[1190] | 18 | ILabelProvider YAxisLabelProvider { get; set; }
|
---|
[761] | 19 |
|
---|
[1233] | 20 | /// <summary>
|
---|
| 21 | /// Raised when data row data changed. Should cause redraw in the view.
|
---|
| 22 | /// </summary>
|
---|
| 23 |
|
---|
[761] | 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 |
|
---|
[1285] | 38 | double MinValue { get; }
|
---|
| 39 | double MaxValue { get; }
|
---|
| 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.