Dynamically Adding Multiple Spline Series to a Chart (MVVM)

I have an application I’m building that needs to be able to display various numbers of Spline Series plots on the same chart. I can do this easily with a single plot. However, when I try and use a list it isn’t working. Anyone know of a solution for this? Additionally, I’m using MVVM so I’d rather not have to add code to the code behind. 


4 Replies 1 reply marked as answer

JE Jeffrey February 12, 2025 03:19 AM UTC

I solved this by using the ChartSeriesCollection for SfChart. Works beautifully. 


Marked as answer

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




JE Jeffrey replied to Preethi Rajakandham February 12, 2025 12:03 PM UTC

Thank you, Preethi. If you don’t mind, I would suggest Syncfusion add a page in the SfChart documentation section regarding the use of the ChartSeriesCollection. That would have saved me a ton of time. I only found the parameter by luck. It’s such a valuable tool and needs to be promoted a little. 



AJ Arul Jenith Berkmans Syncfusion Team February 13, 2025 11:48 AM UTC

Hi Jeffrey,

Thank you for your valuable suggestion. We appreciate your input and consider your request to include the ChartSeriesCollection in our user guide and API reference documents.

We are committed to enhancing our documentation, and your feedback is greatly appreciated.

Thank you for your patience and understanding.

Best regards,

Arul Jenith B.




Loader.
Up arrow icon