ChartDirector Ver 3.0 (C++ Edition)

Box.getWidth


Usage

int getWidth() const;

Description

Get 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 has been laid out (using BaseChart.layout) or has been drawn (using BaseChart.makeChart, BaseChart.makeChart2 or BaseChart.makeChart3).

Arguments

None

Return Value

The width of the box in pixels.