Gets or sets a Grid object, used for an axis' major grid lines properties.
Major Gridlines
Visual Basic (Declaration) | |
---|---|
Public Property MajorGrid As Grid |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Grid MajorGrid {get; set;} |
Return Value
A Grid object, used to get/set major grid properties of an axis.
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. .
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