Last change
on this file since 1307 was
1285,
checked in by mstoeger, 16 years ago
|
Implemented multiple Y-Axes. (#433) Panning & Zooming is broken.
|
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 | }
|
---|
| 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; }
|
---|
[1190] | 16 | ILabelProvider YAxisLabelProvider { get; set; }
|
---|
[761] | 17 |
|
---|
[1233] | 18 | /// <summary>
|
---|
| 19 | /// Raised when data row data changed. Should cause redraw in the view.
|
---|
| 20 | /// </summary>
|
---|
| 21 | event DataRowChangedHandler DataRowChanged;
|
---|
| 22 |
|
---|
[761] | 23 | void AddValue(double value);
|
---|
| 24 | void AddValue(double value, int index);
|
---|
| 25 | void AddValues(double[] values);
|
---|
| 26 | void AddValues(double[] values, int index);
|
---|
| 27 |
|
---|
| 28 | void ModifyValue(double value, int index);
|
---|
| 29 | void ModifyValues(double[] values, int index);
|
---|
| 30 |
|
---|
| 31 | void RemoveValue(int index);
|
---|
| 32 | void RemoveValues(int index, int count);
|
---|
| 33 |
|
---|
| 34 | int Count { get; }
|
---|
| 35 | double this[int index] { get; set; }
|
---|
| 36 |
|
---|
[1285] | 37 | double MinValue { get; }
|
---|
| 38 | double MaxValue { get; }
|
---|
| 39 |
|
---|
[761] | 40 | event ValuesChangedHandler ValuesChanged;
|
---|
| 41 | event ValueChangedHandler ValueChanged;
|
---|
| 42 | }
|
---|
| 43 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.