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.
Unfortunately, activation email could not send to your email. Please try again.

Chart no resize when a menu is hidden

Thread ID:

Created:

Updated:

Platform:

Replies:

126055 Sep 20,2016 04:44 PM Sep 21,2016 10:30 AM ASP.NET Web Forms 1
loading
Tags: Chart
Roimer Machacón Otero
Asked On September 20, 2016 04:44 PM

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 10:30 AM

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.  
 
Regards, 
Saravana Kumar K 


CONFIRMATION

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.

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.

;