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

#6001

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.

Chart with custom width


Sunil Urs