ChartDirector 5.1 (.NET Edition)

BarLayer.setBarWidth


Usage

[VB] Public Sub setBarWidth(barWidth As Integer [, subBarWidth As Integer ])
[C#] public void setBarWidth(int barWidth [, int subBarWidth ]);

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