IDataLabelFormatShowPercentage Property

Represents a specified chart's data label percentage value display behavior. True displays the percentage value. False to hide. Read/write Boolean.

Namespace:  Aspose.Slides.Charts
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: (22.5)
bool ShowPercentage { get; set; }

Property Value

Type: Boolean
If parent of this DataLabelFormat object is a DataLabelCollection collection of data labels then this property gets or sets the default value of the ShowPercentage property for the new data labels in the DataLabelCollection collection. Set this property with value also sets this value to the ShowPercentage property for all data labels in the DataLabelCollection collection (i.e. "DataLabels.DefaultDataLabelFormat.ShowPercentage = val;" cause to all DataLabels[i].ShowPercentage is equal to val).
See Also