ChartDirector 7.1 (C++ Edition)

PlotArea.setGridAxis


Usage

void setGridAxis(Axis *xGridAxis, Axis *yGridAxis);

Description

Sets the axis used for drawing grid lines.

By default, the grid lines will be based on the ticks on the primary x-axis (XYChart.xAxis) and primary y-axis (XYChart.yAxis). This method may be used to specify alternative x-axis and y-axis to base the grid lines on.

Arguments

ArgumentDefaultDescription
xGridAxis(Mandatory)The x-axis used for drawing grid lines.
yGridAxis(Mandatory)The y-axis used for drawing grid lines.

Return Value

None