dotnetCHARTING Send comments on this topic.
GridLine Property
See Also 
dotnetCHARTING Namespace > Axis Class : GridLine Property


Gets or sets this axis' grid Line.

Syntax

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

Return Value

A Line object describing grid line visual properties.

Remarks

Grid lines are drawn for each tick mark on an axis to the other side of a ChartArea. To disable grid lines set GridLine.Color = Color.Empty or Axis.ShowGrid = false.

See Also