Dundas Chart for ASP.NET
Grid Class
Members  See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace : Grid Class


The Grid class provides functionality for the major and minor grids of Axis objects.


Grid class represents axis grid lines which are drawn in the plotting area. It contains grid interval and visual appearance properties. Class also contains methods for grid lines drawing.

Syntax

Visual Basic (Declaration)  
Public Class Grid 
Visual Basic (Usage) Copy Code
Dim instance As Grid
C#  
public class Grid 

Remarks

This class provides the functionality for the chart's grids, and is exposed using the MajorGrid and MinorGrid properties of each Axis object.

Major grid lines by default have their Interval property set to zero (0). An Interval value of zero for major grid lines will result in the control determining an appropriate interval automatically.

Minor grid lines by default do not have their Interval property set. If the minor grid lines are enabled and the Interval is not explicitly set then the Chart control will automatically determine how often to draw the minor grid lines.

Axis grids:

  • Can be enabled/disabled.

  • Have a starting point that determines where they are first drawn.

  • Display lines that can be set for style, width and color.

  • Can have automatic intervals, or intervals that are set manually.

Inheritance Hierarchy

System.Object
   Dundas.Charting.WebControl.Grid
      Dundas.Charting.WebControl.TickMark

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.