ChartDirector 6.0 (Ruby Edition)

PlotArea.setGridAxis


Usage

setGridAxis(xGridAxis, 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