---
title: "차트 데이터 레이블 작업 C++"
---


Aspose.Words 사용자가 작업 할 수 있습니다 ChartDataLabel 다양한 방법.

## 차트 데이터 레이블 수를 포맷하는 방법

사용 [NumberFormat](https://reference.aspose.com/words/cpp/aspose.words.drawing.charts/chartdatalabel/get_numberformat/) 차트의 단일 데이터 레이블의 숫자 서식을 지정할 수 있습니다.

다음 코드 예제에서는 데이터 레이블의 번호를 포맷하는 방법을 보여 줍니다:

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


## 차트 데이터 레이블 작업 방법

사용 [ChartDataLabel](https://reference.aspose.com/words/cpp/aspose.words.drawing.charts/chartdatalabel/) 표시/숨기기와 같이 차트 계열의 단일 데이터 레이블의 서식을 지정할 수 있습니다 LegendKey, CategoryName, SeriesName,가치 등:

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

아래 결과를 참조하십시오:

![work-with-chart-data-lable-aspose-words-cpp-1](working-with-chart-data-label-1.png)
