Working with ChartSeries

Aspose.Words allows users to work with ChartSeriesCollection in a few ways.

Working with ChartSeriesCollection of Chart

Let’s look into ChartSeries collection. All chart series are available through ChartSeriesCollection:

Working with Single ChartSeries Class

Here is how to work with a particular series:

Please see the result below:

work-with-chartseries-aspose-words-cpp-1

All single ChartSeries have default ChartDataPoint options, please try using the following code to change them:

work-with-chartseries-aspose-words-cpp-2

How to Work with Single ChartDataPoint of a ChartSeries

Using ChartDataPoint you can customize the formatting of a single data point of the chart series:

Please see the result below:

work-with-chartseries-aspose-words-cpp-3