ChartDirector 7.0 (Perl Edition)

XYChart.layoutAxes


Usage

layoutAxes()

Description

Performs axis auto-scaling and sets the axis positions and lengths.

ChartDirector automatically calls this method when creating the chart output (eg. using BaseChart.makeChart or BaseChart.makeChart2). There is usually no need to call this method explicitly.

However, if you would like to draw custom objects whose positions or contents depend on the axis scales, you may call this method to auto-scaling the axes before creating the chart output.

The axes will auto-scale based on the data at the time of calling this method. New data added afterwards will not affect the axis scale.

You should not modify the axis scale (eg. using Axis.setLinearScale, Axis.setLabels, etc) after calling this method.

Arguments

None

Return Value

None