ChartDirector Ver 4.1 (ColdFusion Edition)

Box.getWidth


Usage

getWidth()

Description

Gets the width of the box.

In some usages, the width of a box may be dynamically determined. An example is the width of an LegendBox, which cannot be known until all data are available. In these cases, the width is undefined until the chart or at least the legend box has been laid out (using BaseChart.layout or BaseChart.layoutLegend), or the chart image has been drawn (eg. using BaseChart.makeSession, BaseChart.makeChart or BaseChart.makeChart2).

Arguments

None

Return Value

The width of the box in pixels.