---
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)
