ChartDataLabelCollection

ChartDataLabelCollection

Overview

ChartDataLabelCollection is a class in Aspose.Words FOSS for .NET. Inherits from: IEnumerable<ChartDataLabel>, INumberFormatProvider, IChartFormatSource.

Represents a collection of ChartDataLabel.

This class provides 2 methods for working with ChartDataLabelCollection objects in .NET programs. Available methods include: ClearFormat, GetEnumerator. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: Count, Font, Format, NumberFormat, Orientation, Position, and 10 more.

Properties

NameTypeAccessDescription
CountintReadReturns the number of ChartDataLabel in this collection.
ShowCategoryNameboolRead/WriteAllows to specify whether category name is to be displayed for the data labels of the entire series.
ShowBubbleSizeboolRead/WriteAllows to specify whether bubble size is to be displayed for the data labels of the entire series.
ShowLegendKeyboolRead/WriteAllows to specify whether legend key is to be displayed for the data labels of the entire series.
ShowPercentageboolRead/WriteAllows to specify whether percentage value is to be displayed for the data labels of the entire series.
ShowSeriesNameboolRead/WriteReturns or sets a Boolean to indicate the series name display behavior for the data labels of the entire series.
ShowValueboolRead/WriteAllows to specify whether values are to be displayed in the data labels of the entire series.
ShowLeaderLinesboolRead/WriteAllows to specify whether data label leader lines need be shown for the data labels of the entire series.
ShowDataLabelsRangeboolRead/WriteAllows to specify whether values from data labels range to be displayed in the data labels of the entire series.
SeparatorstringRead/WriteGets or sets string separator used for the data labels of the entire series.
OrientationShapeTextOrientationRead/WriteGets or sets the text orientation of the data labels of the entire series.
RotationintRead/WriteGets or sets the rotation of the data labels of the entire series in degrees.
NumberFormatChartNumberFormatReadGets an ChartNumberFormat instance allowing to set number format for the data labels of the entire series.
FontFontReadProvides access to the font formatting of the data labels of the entire series.
FormatChartFormatReadProvides access to fill and line formatting of the data labels.
PositionChartDataLabelPositionRead/WriteGets or sets the position of the data labels.

Methods

SignatureDescription
GetEnumerator()Returns an enumerator object.
ClearFormat()Clears format of all ChartDataLabel in this collection.

See Also