---
title: "Làm việc với ChartSeries trong C++"
---

Aspose.Words cho phép người dùng làm việc với ChartSeriesCollection theo một số cách.

## Làm việc với ChartSeriesCollection Của Biểu đồ

Hãy xem bộ sưu tập [ChartSeries](https://reference.aspose.com/words/cpp/aspose.words.drawing.charts/chartseries/). Tất cả các chuỗi biểu đồ có sẵn thông qua [ChartSeriesCollection](https://reference.aspose.com/words/cpp/aspose.words.drawing.charts/chartseriescollection/):

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

## Làm Việc Với Lớp ChartSeries Duy Nhất

Đây là cách làm việc với một loạt cụ thể:

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

Vui lòng xem kết quả bên dưới:

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

Tất cả các tùy chọn [ChartSeries](https://reference.aspose.com/words/cpp/aspose.words.drawing.charts/chartseries/) có mặc định [ChartDataPoint](https://reference.aspose.com/words/cpp/aspose.words.drawing.charts/chartseries/get_datapoints/), vui lòng thử sử dụng mã sau để thay đổi chúng:

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

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

## Cách Làm Việc Với Single ChartDataPoint của a `ChartSeries`

Sử dụng [ChartDataPoint](https://reference.aspose.com/words/cpp/aspose.words.drawing.charts/chartdatapoint/) bạn có thể tùy chỉnh định dạng của một điểm dữ liệu duy nhất của chuỗi biểu đồ:

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

Vui lòng xem kết quả bên dưới:

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