ChartDirector 7.1 (.NET Edition)

XYChart.layoutAxes


Usage

[C#]public void layoutAxes();
[VB]Public Sub 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.makeWebImage, BaseChart.makeImage or BaseChart.makeChart). 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