Home forums Feature Requests & Feedback Resize Canvas when parent-div got resized Reply To: Resize Canvas when parent-div got resized

#6001

Sunil Urs
Keymaster

Helge,

In the latest version you can just call render method whenever its container’s size changes and the chart readjusts its size (only if required) and also redraws the chart to fit the new size. You can also explicitly set width and height (in pixels) of chart in chart options and call render method to update its size.


Sunil Urs