SetGridColor

SetGridColor — Set the color used for the axes and borders

Synopsis

$plot->SetGridColor($color)
    

Description

SetGridColor sets the color used for the X and Y axes, the plot border, the legend border, and pie chart percentage labels (but not the grid).

Parameters

$color

Color value to use. See Section 3.5, “Colors” for more on color values.

Notes

The default color is black.

This doesn't actually set the color used by the grid; for that see SetLightGridColor. We have no idea why this is so.