SetDrawYGrid
Prev | PHPlot Function Reference | Next

## SetDrawYGrid

SetDrawYGrid — Whether or not to draw the Y grid lines

## Synopsis

    $plot->SetDrawYGrid([$dyg])

## Description

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

## Parameters

`$dyg`

  True to draw the Y grid lines, False to not draw the Y 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
SetDrawYDataLabelLines | Home | SetErrorBarColors