ChartDirector 5.1 (PHP Edition)

PlotArea.setGridColor


Usage

setGridColor(hGridColor [, vGridColor [, minorHGridColor [, minorVGridColor ]]])

Description

Sets the horizontal and vertical grid colors of the plot area.

Arguments

ArgumentDefaultDescription
hGridColor(Mandatory)The color for the horizontal grid lines associated with major ticks.
vGridColorTransparentThe color for the vertical grid lines associated with major ticks.
minorHGridColor-1The color for the horizontal grid lines associated with minor ticks. -1 means the color is the same as hGridColor.
minorVGridColor-1The color for the vertical grid lines associated with minor ticks. -1 means the color is the same as vGridColor.

Return Value

None