Last change
on this file since 2904 was
2040,
checked in by dwagner, 15 years ago
|
dw: Added new dialog for adding lines using the options dialog. (#478)
|
File size:
981 bytes
|
Line | |
---|
1 | using HeuristicLab.Core;
|
---|
2 | using HeuristicLab.Visualization.Options;
|
---|
3 |
|
---|
4 | namespace HeuristicLab.Visualization {
|
---|
5 | public enum DataRowType {
|
---|
6 | Normal, SingleValue,
|
---|
7 | Points
|
---|
8 | }
|
---|
9 |
|
---|
10 | public interface IDataRow : IStorable {
|
---|
11 | DataRowSettings RowSettings { get; set; }
|
---|
12 |
|
---|
13 | YAxisDescriptor YAxis { get; set; }
|
---|
14 |
|
---|
15 | void AddValue(double value);
|
---|
16 | void AddValue(double value, int index);
|
---|
17 | void AddValues(double[] values);
|
---|
18 | void AddValues(double[] values, int index);
|
---|
19 |
|
---|
20 | void ModifyValue(double value, int index);
|
---|
21 | void ModifyValues(double[] values, int index);
|
---|
22 |
|
---|
23 | void RemoveValue(int index);
|
---|
24 | void RemoveValues(int index, int count);
|
---|
25 |
|
---|
26 | int Count { get; }
|
---|
27 | double this[int index] { get; set; }
|
---|
28 |
|
---|
29 | double MinValue { get; }
|
---|
30 | double MaxValue { get; }
|
---|
31 |
|
---|
32 | string Label{ 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.