Dundas Chart for ASP.NET
MajorGrid Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > Axis Class : MajorGrid Property


Gets or sets a Grid object, used for an axis' major grid lines properties.


Major Gridlines

Syntax

Visual Basic (Declaration)  
Public Property MajorGrid As Grid
Visual Basic (Usage) Copy Code
Dim instance As Axis
Dim value As Grid
 
instance.MajorGrid = value
 
value = instance.MajorGrid
C#  
public Grid MajorGrid {get; set;}

Return Value

A Grid object, used to get/set major grid properties of an axis.

Remarks

Major grid lines are always drawn in conjunction with a data point (e.g. will occur at the same point along an axis as a data point) for categorical axis tick marks. For value axes, major grid lines by default are drawn wherever labels occur.

You can use this property to change major grid line's frequency, color, etc. .

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.