Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/30/09 15:58:12 (15 years ago)
Author:
gkragl
Message:

Implemented XAxisLabelProvider and YAxisLabelProvider (#434, #435 )

File:
1 edited

Legend:

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

    r868 r1190  
    2121    private List<double> dataRow = new List<double>();
    2222
     23    private ILabelProvider labelProvider = new DefaultLabelProvider("0.##");
     24
     25    public ILabelProvider YAxisLabelProvider {
     26      get { return labelProvider; }
     27      set { this.labelProvider = value; }
     28    }
     29
     30
    2331    public DataRow() {
    2432    }
    25 
     33   
    2634    public DataRow(string label) {
    2735      this.Label = label;
    2836    }
     37   
    2938
    3039    public DataRow(string label, Color color, int thickness, DrawingStyle style, List<double> dataRow) {
    31       this.Label = label;
     40     this.Label = label;
    3241      this.Color = color;
    3342      this.Thickness = thickness;
     
    6372    }
    6473
     74 
    6575    public string Label {
    6676      get { return label; }
     
    7080      }
    7181    }
     82   
    7283
    7384    public Color Color {
Note: See TracChangeset for help on using the changeset viewer.