ChartDirector 7.1 (C++ Edition)

SurfaceChart.setSurfaceAxisGrid


Usage

void setSurfaceAxisGrid(int majorXGridColor, int majorYGridColor = -1, int minorXGridColor = -1, int minorYGridColor = -1);

Description

Sets the colors of the axis grid lines on the surface.

Axis grid lines are grid lines associated with the ticks on the x and y axes. Major grid lines associate with major ticks. Minor grid lines associate with minor ticks. They can be drawn on the surface of the surface chart, and on the plot region walls. This method is for the surface of the surface chart. For the plot region walls, see ThreeDChart.setWallGrid.

Arguments

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

Return Value

None