Home › forums › Using CanvasJS › Stacked Column Chart resizing
This topic contains 1 reply, has 2 voices, and was last updated by Priyanka M S 10 months, 2 weeks ago.
I have a stacked column chart and a mat-drawer container. When I toggle the mat-drawer (press options button) without rendering the chart with new data, it resizes properly when I close the mat-drawer (see picture 1). However, when I open the mat-drawer and render the chart with new data, the chart doesn’t resize to full width when I close the drawer (see picture 2).
How do I make the chart resize fully when I close the drawer after rendering with the open drawer?
picture 1: https://ibb.co/cEkd9y
picture 2: https://ibb.co/jwWJ9y
Could you please create a sample project depicting your issue and share it over Onedrive or Google-Drive, so that we can look into the code, understand your scenario better and help you out?
Priyanka M S
Team Canvas JS
You must be logged in to reply to this topic.