ChartDirector 5.1 (PHP Edition)

BarLayer.setBarWidth


Usage

setBarWidth(barWidth [, 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