Free cookie consent management tool by TermsFeed Policy Generator

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

x-axis grid can be enabled/disabled #629

File:
1 moved

Legend:

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

    r1838 r1876  
    22
    33namespace HeuristicLab.Visualization {
    4   public class Grid : WorldShape {
     4  public class YAxisGrid : WorldShape {
    55    private Color color = Color.LightBlue;
    66
     
    1414        LineShape line = new LineShape(ClippingArea.X1, y,
    1515                                       ClippingArea.X2, y,
    16                                        color, 1,
    17                                        DrawingStyle.Dashed);
    18         AddShape(line);
    19       }
    20 
    21       foreach (double x in AxisTicks.GetTicks(XAxis.PixelsPerInterval,
    22                                               Parent.Viewport.Width,
    23                                               ClippingArea.Width,
    24                                               ClippingArea.X1)) {
    25         LineShape line = new LineShape(x, ClippingArea.Y1,
    26                                        x, ClippingArea.Y2,
    2716                                       color, 1,
    2817                                       DrawingStyle.Dashed);
Note: See TracChangeset for help on using the changeset viewer.