Dynamic Series using ViewModel

Hello,

How can I add dynamic series to a Spline Area in the ViewModel?

I need to be able to add dynamic series´name, data, and probably some other properties.

1 Reply

DV Divya Venkatesan Syncfusion Team February 2, 2018 09:38 AM UTC

Hi Juan,

Thanks for using Syncfusion products.

We have prepared a sample to add the series from ViewModel by declaring a property SeriesCollection in ViewModel and bind it to SfChart.Series property and using button command, a new series will be added to SeriesCollection from view model.

Sample: http://www.syncfusion.com/downloads/support/forum/135729/ze/DynamicSeries-110366166

Please let us know, if you need any further assistance.

Regards,
Divya Venkatesan
 


Loader.
Up arrow icon