ChartDirector Ver 4.1 (ColdFusion Edition)

BaseChart.layout


Usage

layout()

Description

Perform auto-scaling of the axis and compute the positions of the various objects in the chart.

BaseChart.layout is automatically called when drawing the chart image (eg. using BaseChart.makeSession, BaseChart.makeChart or BaseChart.makeChart2). There is usually no need to call BaseChart.layout explicitly.

However, if you would like to add custom objects to the chart whose positions depend on the axis scales or position of other objects, you may need to call BaseChart.layout explicit to auto-scaling the axis. An example is to draw a custom label at the maximum value point of a data line.

Arguments

None

Return Value

None