Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1387


Ignore:
Timestamp:
03/21/09 13:14:53 (15 years ago)
Author:
mstoeger
Message:

Added a getter to the model for the default Y-axis descriptor. (#433)

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization.Test/LineChartTests.cs

    r1386 r1387  
    7979      IDataRow row3 = new DataRow();
    8080
     81      YAxisDescriptor yaxis1 = model.DefaultYAxis;
     82      YAxisDescriptor yaxis2 = new YAxisDescriptor();
     83
     84      yaxis1.Label = "Y-Axis 1";
     85      yaxis2.Label = "Y-Axis 2";
     86
    8187      row1.Color = Color.Red;
    8288      row1.Thickness = 3;
     
    9399      row3.Style = DrawingStyle.Solid;
    94100      row3.Label = "Die Blaue";
    95       row3.YAxis = new YAxisDescriptor();
     101      row3.YAxis = yaxis2;
    96102
    97103      model.AddDataRow(row1);
  • trunk/sources/HeuristicLab.Visualization/ChartDataRowsModel.cs

    r1385 r1387  
    136136      rows.Remove(row);
    137137      OnDataRowRemoved(row);
     138    }
     139
     140    public YAxisDescriptor DefaultYAxis {
     141      get { return defaultYAxisDescriptor; }
    138142    }
    139143
Note: See TracChangeset for help on using the changeset viewer.