ChartDirector 7.1 (C++ Edition)

PlotArea.setGridWidth


Usage

void setGridWidth(int hGridWidth, int vGridWidth = -1, int minorHGridWidth = -1, int minorVGridWidth = -1);

Description

Sets the horizontal and vertical grid line width.

Arguments

ArgumentDefaultDescription
hGridWidth(Mandatory)The line width for the horizontal grid lines associated with major ticks.
vGridWidth-1The line width for the vertical grid lines associated with major ticks. -1 means the vertical grid line width is the same as hGridWidth.
minorHGridWidth-1The line width for the horizontal grid lines associated with minor ticks. -1 means the color is the same as hGridWidth.
minorVGridWidth-1The line width for the horizontal grid lines associated with minor ticks. -1 means the color is the same as vGridWidth.

Return Value

None