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.

SourceForge.net Logo

This version of the manual was produced for the PHPlot Sourceforge project web service site, which requires the logo on each page.

To download a logo-free copy of the manual, see the PHPlot project downloads area.