ChartDirector 7.1 (C++ Edition)

ThreeDChart.setWallGrid


Usage

void setWallGrid(int majorXGridColor, int majorYGridColor = -1, int majorZGridColor = -1, int minorXGridColor = -1, int minorYGridColor = -1, int minorZGridColor = -1);

Description

Sets the grid line colors on plot region walls.

The grid lines on the walls are associated with the ticks on the x, y and z axes. Major ticks associate with major grid lines. Minor ticks associate with minor grid lines. By default, the major grid lines are light grey (cccccc), and the minor grid lines are lighter grey (dddddd). This method can be used to modify the grid line colors.

Arguments

ArgumentDefaultDescription
majorXGridColor(Mandatory)The color of the major x-axis grid lines on the walls.
majorYGridColor-1The color of the major y-axis grid lines on the walls. -1 means it is the same as the majorXGridColor.
majorZGridColor-1The color of the major z-axis grid lines on the walls. -1 means it is the same as the majorXGridColor.
minorXGridColor-1The color of the minor x-axis grid lines on the walls. -1 means it is the same as the majorXGridColor.
minorYGridColor-1The color of the minor y-axis grid lines on the walls. -1 means it is the same as the majorYGridColor.
minorZGridColor-1The color of the minor z-axis grid lines on the walls. -1 means it is the same as the majorZGridColor.

Return Value

None