({{, (RefLink[DefaultGridLinesStyle, paclet:ref/DefaultGridLinesStyle])
is a low-level option for 2D graphics functions that specifies the default style to use in rendering grid lines.}})

OpenersNotesSection(Spacer1)Details

(RefLink[DefaultGridLinesStyle, paclet:ref/DefaultGridLinesStyle])->style specifies that the grid lines should effectively be replaced by (RefLink[Style, paclet:ref/Style])[line,style].

(RefLink[GridLinesStyle, paclet:ref/GridLinesStyle]) is applied after (RefLink[DefaultGridLinesStyle, paclet:ref/DefaultGridLinesStyle]).

For (RefLink[Graphics, paclet:ref/Graphics]), the default setting is (RefLink[DefaultGridLinesStyle, paclet:ref/DefaultGridLinesStyle])->"GraphicsGridLines".

(RefLink[DefaultGridLinesStyle, paclet:ref/DefaultGridLinesStyle])->{} introduces no default style specifications, thereby effectively allowing all outside style specifications in.

(RefLink[DefaultGridLinesStyle, paclet:ref/DefaultGridLinesStyle])->style makes any specifications in style override corresponding outside style specifications.

OpenersPrimaryExamplesSection(Spacer1)Examples  (3)

OpenersExampleSection0(Spacer1)Basic Examples  (3)

The current setting for (RefLink[DefaultGridLinesStyle, paclet:ref/DefaultGridLinesStyle]):

Options[GraphicsBox,DefaultGridLinesStyle]

The default styles used:

Graphics[Circle[],Axes->True,GridLines->Automatic]

Explicit settings for (RefLink[GridLinesStyle, paclet:ref/GridLinesStyle]) override (RefLink[DefaultGridLinesStyle, paclet:ref/DefaultGridLinesStyle]):

Graphics[Circle[],Axes->True,GridLines->Automatic,GridLinesStyle->Directive[Orange,Dashed]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[GridLinesStyle, paclet:ref/GridLinesStyle])  ▪  (RefLink[DefaultBaseStyle, paclet:ref/DefaultBaseStyle])  ▪  (RefLink[Style, paclet:ref/Style])  ▪  (RefLink[StyleDefinitions, paclet:ref/StyleDefinitions])}})}})