width Property

Description

Chart width in pixels ("px" postfix, e.g. "300px") or container width percent ("%" postfix, e.g. "80%").

Used to set size prior to drawing, to change property value after chart drawing, use setSize() method.

Note: Set this property before write() method call.

Type

String

Default

"100%"

Samples

See also

AnyChartStock.width, height, setSize(), resizing

to top