Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Visualization/IChartDataRowsModel.cs @ 864

Last change on this file since 864 was 859, checked in by cbahner, 16 years ago

#318 implemented interfaces of ChartDataRowsModel

File size: 832 bytes
Line 
1using System.Collections.Generic;
2
3namespace HeuristicLab.Visualization {
4  public interface IChartDataRowsModel {
5    string Title { get; set; }
6    string XAxisLabel { get; set; }
7    List<string> XLabels { get; }
8    List<IDataRow> Rows { get; }
9
10    void AddDataRow(IDataRow row);
11    void RemoveDataRow(IDataRow row);
12
13    void AddLabel(string label);
14    void AddLabel(string label, int index);
15    void AddLabels(string[] labels);
16    void AddLabels(string[] labels, int index);
17    void ModifyLabel(string label, int index);
18    void ModifyLabels(string[] labels, int index);
19    void RemoveLabel(int index);
20    void RemoveLabels(int index, int count);
21
22    event ModelChangedHandler ModelChanged;
23    event DataRowAddedHandler DataRowAdded;
24    event DataRowRemovedHandler DataRowRemoved;
25  }
26}
Note: See TracBrowser for help on using the repository browser.