API REFERENCE
width
Chart width in pixels. If the container width changes, update width from a ResizeObserver.
Definition
| Item | Value |
|---|---|
| JavaScript property | width |
| HTML attribute | width |
| Type | number |
| Default | 600 |
Configuration example
chart.width = 600;API REFERENCE
Chart width in pixels. If the container width changes, update width from a ResizeObserver.
| Item | Value |
|---|---|
| JavaScript property | width |
| HTML attribute | width |
| Type | number |
| Default | 600 |
chart.width = 600;