Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1193 for trunk/sources


Ignore:
Timestamp:
01/30/09 16:58:09 (15 years ago)
Author:
cbahner
Message:

#320 added DataRowType: Normal or SingleValue for Aggregators (performance for drawing)

Location:
trunk/sources/HeuristicLab.Visualization
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/DataRow.cs

    r1191 r1193  
    1919    private int thickness = 2;
    2020    private DrawingStyle style = DrawingStyle.Solid;
     21    private DataRowType lineType = DataRowType.Normal;
    2122    private List<double> dataRow = new List<double>();
    2223
    2324    private ILabelProvider labelProvider = new DefaultLabelProvider("0.##");
     25
     26    public DataRowType LineType{
     27      get { return lineType; }
     28      set {
     29        lineType = value;
     30        OnDataRowChanged(this);
     31      }
     32    }
    2433
    2534    public ILabelProvider YAxisLabelProvider {
  • trunk/sources/HeuristicLab.Visualization/IDataRow.cs

    r1190 r1193  
    22
    33namespace HeuristicLab.Visualization {
     4
     5  public enum DataRowType {
     6    Normal, SingleValue
     7  }
     8 
    49  public interface IDataRow {
    510    string Label { get; set; }
     
    712    int Thickness { get; set; }
    813    DrawingStyle Style { get; set; }
     14    DataRowType LineType { get; set; }
    915    ILabelProvider YAxisLabelProvider { get; set; }
    1016
Note: See TracChangeset for help on using the changeset viewer.