Visual Basic (Declaration) | |
---|---|
Public Property GridLine As Line |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Line GridLine {get; set;} |
Return Value
A Line object describing grid line visual properties.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
.