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. Image for the cookie policy date
close icon

Chart Mysteriously Dissappearing in specific conditions

Hi,

We are currently building a chart control, with the ability to save and load charts. (Currently implemented using our own logic, not the default serializer)

Funnily enough, the chart upon loading, will not show itself on certain conditions (we have yet to figure out what conditions. Currently tried different layout, on row to columns, from different width/heights, in different containers. No specific conditions or patterns at the moment)

Then, we figured that when the window size resizes (we are assuming layout refresh), the chart then appears. Of course, we can always force refresh upon a chart load, but we think this is not a healthy way to do it. Is there something we are missing? Or does the chart behave that way by default?

Please advise. Thanks!

5 Replies

SJ Sumathi Jayaraj Syncfusion Team August 27, 2014 12:01 PM UTC

Hi Chong,​
 
We have analyzed the reported issue and we are unable to reproduce the issue at our end.  Could you please provide a sample in order to reproduce the issue and update us? It would be helpful for us to serve you better.
 
Please let us know if you require further assistance on this.
 
Regards,
Sumathi J


CY Chong Yee Mei September 2, 2014 02:12 AM UTC

Hi,

Have attached the sample file with the same issue which required resize /refresh the window, only the chart appears.
Please advise. 
Thank you.

Attachment: ChartSolutions_66dcb4ef.zip


SJ Sumathi Jayaraj Syncfusion Team September 2, 2014 10:10 AM UTC

Hi Chong,
 
We have analyzed the reported query and you can achieve this by defining the ChartAxis (Primary and Secondary Axis) for the chart. We have modified the sample based on your requirements. Please find the sample in the following location.
 
Please let us know if you require further assistance on this.
 
Regards,
Sumathi J

Attachment: ChartSolutions_b0c00ada.zip


CY Chong Yee Mei September 3, 2014 01:52 AM UTC

Hi,

Primary and secondary axis helped, the issue solved. 
Thank you for your solution :)

Regards


SJ Sumathi Jayaraj Syncfusion Team September 3, 2014 04:14 AM UTC

Hi Chong,

We are glad that the issue is resolved. 

Please let us know if you require further assistance on this.

Regards,
Sumathi J

Loader.
Live Chat Icon For mobile
Up arrow icon