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
Argument
Default
Description
xGridAxis
(Mandatory)
The x-axis used for drawing grid lines.
yGridAxis
(Mandatory)
The y-axis used for drawing grid lines.
Return Value
None
© 2023 Advanced Software Engineering Limited. All rights reserved.