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

sfchart legend hides after a navigation!


I've got a weird problem, I have a chart in my app that has legend and series, but the chart isn't located in my main page, I have to navigate to another page to see my chart, the first time that I navigate to the page in which my chart is located everything works fine, but the problem is that when I navigate back to the main page and go back to the chart page again, then the legend just becomes invisible and the series won't work either!
I have created a sample based on the behavior on my app that reproduces the same issue, I'd appreciate if you could take a look at it and help me resolve the issue, in the sample there is a button which takes you to the chart page and in the chart page there is another button that takes you back to the main page, so if you go back to the chart page again, you see what my problem is. Thank you so much in advance, oh, and by the way I have this problem on the Android part of the project, I haven't tested on ios yet, but I just need this to work on Android for now.

Best Regards,

Attachment: ChartTest_3c3893c6.zip

3 Replies

DD Devakumar Dhanapoosanam Syncfusion Team April 22, 2019 10:46 AM UTC

Hi Reihaneh, 
Greetings from Syncfusion. 
We have analyzed your query and the sample provided. The reported issue occurs in the beta version and while checking this issue with latest it has been resolved from the version. Please update the SfChart version to or the latest and let us know whether the issue has been resolved at your end. 
Please let us know if you need any further assistance. 

RK Reihaneh Khaksaran April 23, 2019 06:32 AM UTC


Thanks you so much, updating resolved the issue

Best Regards,

BK Bharathiraja K Syncfusion Team April 23, 2019 06:52 AM UTC

Hi Reihaneh,  
We are glad that the reported problem resolved at your end. 

Live Chat Icon For mobile
Up arrow icon