Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/27/09 20:23:17 (15 years ago)
Author:
mstoeger
Message:

Display of X- and Y-Axis-Labels (#556)

File:
1 edited

Legend:

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

    r1459 r1462  
    2727
    2828    private const int YAxisWidth = 100;
    29     private const int XAxisHeight = 20;
     29    private const int XAxisHeight = 40;
    3030
    3131    /// <summary>
     
    9595      }
    9696
     97      xAxis.ShowLabel = model.ShowXAxisLabel;
     98      xAxis.Label = model.XAxisLabel;
     99
    97100      canvas.AddShape(xAxis);
    98101
     
    104107        if (yAxisDescriptor.ShowYAxis) {
    105108          canvas.AddShape(info.YAxis);
     109          info.YAxis.ShowLabel = yAxisDescriptor.ShowYAxisLabel;
     110          info.YAxis.Label = yAxisDescriptor.Label;
    106111          info.YAxis.Position = yAxisDescriptor.Position;
    107112          switch (yAxisDescriptor.Position) {
Note: See TracChangeset for help on using the changeset viewer.