We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to add dynamic chart series using Aspose.Slides (C# .NET)

Hi support,

I am implementing area chart in using aspose.slide. now i want to add series dynamically as it’s count and values are based on configurations selected by the users.

series dynamically means-INQ, AQL, TAL, TQL, SAL mentiond in screenshot attached, it can be different title(e.g INQ, MQL, SAL, SQL in some case) as well as count of series are also may differ.

please suggest how to to that using c#.

Please find screenshot attached
line-chart.png (66.4 KB)


I have observed your requirements and like to share that Aspose.Slides allows you to generate the MSO charts on the fly using data from any data source including SQL. The SQL portion you need to work on your end to fetch the information and then adding the data in chart categories and series. Based on your data, you can add or remove the chart series. I suggest you to please visit this documentation section link for your kind reference.