Free cookie consent management tool by TermsFeed Policy Generator

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

Add option for grid visibility and color (#555)

File:
1 edited

Legend:

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

    r1457 r1458  
    8585      foreach (YAxisDescriptor yAxisDescriptor in model.YAxes) {
    8686        YAxisInfo info = GetYAxisInfo(yAxisDescriptor);
    87         canvas.AddShape(info.Grid);
     87        if (yAxisDescriptor.ShowGrid) {
     88          info.Grid.Color = yAxisDescriptor.GridColor;
     89          canvas.AddShape(info.Grid);
     90        }
    8891      }
    8992
Note: See TracChangeset for help on using the changeset viewer.