Pattern Property (LineStyle)
The line pattern.
Syntax
Property Pattern As LinePatternConstants
Example
' Display all grid lines as dashes
Chart2D1.Axes("X").MajorGrid.Style.Pattern = oc2dLineIntegerDash
Chart2D1.Axes("Y").MajorGrid.Style.Pattern = oc2dLineIntegerDash
See Also
LinePattern Constants
LineStyle Object