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

Update SfChart

Considering that the sfchart is set as the activity's view, is there any other way of updating the chart without reloading the activity (fragment in my case) ?
Also, how could I insert other visual components in the same fragment ?

Thanks in advance. 

1 Reply

SP Saravana Pandian Murugan Syncfusion Team July 3, 2017 12:34 PM UTC

Hi Yuri,

Thanks for contacting Syncfusion support.

Regarding “Is there any other way of updating the chart without reloading the activity?”,

You can add/remove/insert the datas to ObservableArrayList without reloading the entire activity.

Regarding “How could I insert other visual components in the same activity”,

We have added another view in the layout which already has SfChart. We have attached the sample for your reference which can be downloaded from the below location.

Sample: http://www.syncfusion.com/downloads/support/forum/131265/ze/Fragment_Chart_Sample-605397497

Please check the sample and let us know if you need further assistance on this.

Regards,
Saravana Pandian M. 


Loader.
Live Chat Icon For mobile
Up arrow icon