---
title: "Working with ChartSeries in C++"
---

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

## Working with ChartSeriesCollection of Chart

Let’s look into [ChartSeries](https://reference.aspose.com/words/cpp/aspose.words.drawing.charts/chartseries/) collection. All chart series are available through [ChartSeriesCollection](https://reference.aspose.com/words/cpp/aspose.words.drawing.charts/chartseriescollection/):

{{< gist "aspose-words-gists" "d55d8631947d283b1f0da99afa06c492" "cpp-Programming-Documents-Charts-CreateColumnChart-ChartSeriesCollection.cpp" >}}

## Working with Single ChartSeries Class

Here is how to work with a particular series:

{{< gist "aspose-words-gists" "d55d8631947d283b1f0da99afa06c492" "cpp-Programming-Documents-Charts-WorkWithSingleChartSeries-WorkWithSingleChartSeries.cpp" >}}

Please see the result below:

![work-with-chartseries-aspose-words-cpp-1](working-with-chartseries-1.png)

All single [ChartSeries](https://reference.aspose.com/words/cpp/aspose.words.drawing.charts/chartseries/) have default [ChartDataPoint](https://reference.aspose.com/words/cpp/aspose.words.drawing.charts/chartseries/get_datapoints/) options, please try using the following code to change them:

{{< gist "aspose-words-gists" "d55d8631947d283b1f0da99afa06c492" "cpp-Programming-Documents-Charts-WorkWithSingleChartSeries-ChartDataPoint.cpp" >}}

![work-with-chartseries-aspose-words-cpp-2](working-with-chartseries-2.png)

## How to Work with Single ChartDataPoint of a `ChartSeries`

Using [ChartDataPoint](https://reference.aspose.com/words/cpp/aspose.words.drawing.charts/chartdatapoint/) you can customize the formatting of a single data point of the chart series:

{{< gist "aspose-words-gists" "d55d8631947d283b1f0da99afa06c492" "cpp-Programming-Documents-Charts-WorkWithSingleChartDataPoint-WorkWithSingleChartDataPoint.cpp" >}}

Please see the result below:

![work-with-chartseries-aspose-words-cpp-3](working-with-chartseries-3.png)
