ChartDirector 6.2 (.NET Edition)

PlotArea.setGridAxis


Usage

[C#] public void setGridAxis(Axis xGridAxis, Axis yGridAxis);
[VB] Public Sub setGridAxis(xGridAxis As Axis, yGridAxis As Axis)

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