ChartDirector 7.0 (ASP/COM/VB Edition)

Axis.setLength


Usage

setLength(length)

Description

Sets the length of the axis.

During axis layout, ChartDirector will automatically set vertical axes to the same length as the plot area height, and horizontal axes to the same length as the plot area width.

Calling this method before axis layout has no effect, as the length will be overwritten during axis layout. This method should only be called after axis layout (after calling XYChart.layoutAxes, BaseChart.layout or XYChart.packPlotArea).

Arguments

ArgumentDefaultDescription
length(Mandatory)The length of the axis in pixels.

Return Value

None