Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/23/09 11:08:42 (15 years ago)
Author:
mstoeger
Message:

xaxis grid color can be set in the options dialog #555

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/3.2/XAxisDescriptor.cs

    r1881 r1885  
     1using System.Drawing;
    12using HeuristicLab.Visualization.LabelProvider;
    23
     
    89    private bool showLabel = true;
    910    private bool showGrid = true;
     11    private Color gridColor = Color.LightBlue;
    1012    private ILabelProvider labelProvider = new ContinuousLabelProvider("0.##");
    1113
     
    4446    }
    4547
     48    public Color GridColor {
     49      get { return this.gridColor; }
     50      set {
     51        this.gridColor = value;
     52        FireXAxisDescriptorChanged();
     53      }
     54    }
     55
    4656    private void FireXAxisDescriptorChanged() {
    4757      if (XAxisDescriptorChanged != null)
Note: See TracChangeset for help on using the changeset viewer.