How can I add series dynamically to a chart

Hello everyone,
I have a word template (*.docx) and I want to build a chart dynamically with Aspose.
This is the template :

In this exemple I have added 3 series of data with 3 differents coulours, but how can I do if I want that the series are dynamics ?
Do you have some exemples please ?
The code in the header works very well and it build all the days that I want to display, but I want also, for each day to print the series of data dynamically.
Sorry for my bad english :smiling_face:
Thank you

@deid

The basic idea is to define all possible series in a chart template and then, remove those of them that are not needed while building a report by using removeif tags. Please check Including Chart Series Dynamically for details.

Thank you again Ivan

1 Like