We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Chart no resize when a menu is hidden

Thread ID:





126055 Sep 20,2016 08:44 PM UTC Sep 21,2016 02:30 PM UTC ASP.NET Web Forms 1
Tags: Chart
Roimer Machacón Otero
Asked On September 20, 2016 08:44 PM UTC

Hi we're using charts. Now we've a problem and this that charts not resize when we hide a menu div.

When document ready hidden the menu for have more space to show the charts, but this not resize taking advantage of the space the menu.

These charts in its definition have IsResponsive=true property.

Attached to this forum image when exposed the error.

Attachment: ChartNotResize_4f6069a4.zip

Saravana Kumar Kanagavel [Syncfusion]
Replied On September 21, 2016 02:30 PM UTC

Hi Roimer,  
Thanks for contacting Syncfusion Support. 
We have analyzed your query and attached screenshots but can’t able to clearly understand your DOM structure in the attached screenshots. Thus, we are unable to reproduce the issue at our end.  
We suspect that in your sample, on hide/show the menu, no changes take place for the width of the parent container which holding the chart control. So there is no change on the width of the chart. 
If we set isResponsive as true in chart property, then the chart will get rendered to the width of the parent element while resizing. Please find the below link for more details about isResponsive property. 
So kindly check that the width of the parent element got changed on hide/show the menu, by specifying a background color to the parent element. This will help us to know the size of the parent region and to understand the exact scenario sooner. 
And if you still face any concern, kindly revert us the following details to reproduce the issue and we will provide you solution sooner. 
v  Please revert us with your sample and replication steps. 
v  If you have referred any bootstrap or any specific CSS style for chart in your project. 
Please let us know if you have any concern.  
Saravana Kumar K 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon