Working with Chart Data Label

Aspose.Words allows users to work with ChartDataLabel an various ways.

How to Format Number of Chart Data Label

Using get_NumberFormat() you can specify number formatting of a single data label of the chart.

The following code example shows how to format a number of the data label:

How to Work With Chart Data Label

Using ChartDataLabel you are able to specify the formatting of a single data label of the chart series, like show/hide LegendKey, CategoryName, SeriesName, Value etc:

Please see the result below:

work-with-chart-data-lable-aspose-words-cpp-1