ChartDirector 6.0 (C++ Edition)

BarLayer.setBarWidth


Usage

void setBarWidth(int barWidth, int subBarWidth = -1);

Description

Sets the width of the bars.

Arguments

ArgumentDefaultDescription
barWidth(Mandatory)The width of the bars (or bar groups for multi-bar layers) in pixels.
subBarWidth-1This argument only applies to multi-bar charts. It is the width of the bars in a bar group in pixels.

Return Value

None