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.
Visual Basic (Declaration) | |
---|---|
Public Class Grid |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class Grid |
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.
System.Object
Dundas.Charting.WebControl.Grid
Dundas.Charting.WebControl.TickMark
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