SetDrawXGrid
Prev | PHPlot Function Reference | Next

## SetDrawXGrid

SetDrawXGrid — Whether or not to draw the X grid lines

## Synopsis

    $plot->SetDrawXGrid([$dxg])

## Description

`SetDrawXGrid` enables or disables the drawing of the X grid lines. (The X grid lines are the vertical lines which intersect the X axis and are parallel to the Y axis.) The default is to not draw the X grid for vertical plots, and to draw the X grid for horizontal plots.

## Parameters

`$dxg`

  True to draw the X grid lines, False to not draw the X grid lines. If this parameter is omitted or NULL, the default behavior is restored.

## Notes

Grid lines are drawn at tick mark positions.

SetLightGridColor sets the color of the grid lines.

## History

The ability to specify NULL or omit the parameter to restore the default behavior was added in PHPlot-6.0.0.

Prev | Up | Next
SetDrawXDataLabelLines | Home | SetDrawYAxis