dynamically graph in SfChart (Line)

I have a question concerning the chart: SfChart (Line), How can I dynamically generate the graphs when I do not know the number in advance because it varies?

3 Replies

DA Devi Aruna Maharasi Murugan Syncfusion Team February 3, 2017 01:24 PM UTC

Hi Cartman, 
  
Thanks for contacting Syncfusion Support. 
  
We would like to inform you that SfChart has support for dynamically adding the series into its series collection. We have prepared a demo sample based on your requirement and it can be downloaded from below link, 
  
  
Regards, 
Devi 






JE Jeffrey February 12, 2025 03:21 AM UTC

I realize this is an old question, but I had a similar issue. I used the ChartSeries Collection in Xaml and bound it to an ObservableCollection in my view model. Works beautifully. 



PR Preethi Rajakandham Syncfusion Team February 12, 2025 04:52 AM UTC

Hi Jeffrey,

We are happy to hear that the problem has been resolved. We will mark this thread as solved. Please let us know if you need further assistance. As always, we are here to help you.

Regards,

Preethi R



Loader.
Up arrow icon