Aspose::Words::Drawing::Charts::ChartDataLabelCollection class

ChartDataLabelCollection class

Represents a collection of ChartDataLabel. To learn more, visit the Working with Charts documentation article.

class ChartDataLabelCollection : public System::Collections::Generic::IEnumerable<System::SharedPtr<Aspose::Words::Drawing::Charts::ChartDataLabel>>,
                                 public Core::INumberFormatProvider,
                                 public Core::IChartFormatSource

Methods

MethodDescription
ClearFormat()Clears format of all ChartDataLabel in this collection.
GetEnumerator() overrideReturns an enumerator object.
get_Count()Returns the number of ChartDataLabel in this collection.
get_Font()Provides access to the font formatting of the data labels of the entire series.
get_Format()Provides access to fill and line formatting of the data labels.
get_NumberFormat()Gets an ChartNumberFormat instance allowing to set number format for the data labels of the entire series.
get_Orientation()Gets or sets the text orientation of the data labels of the entire series.
get_Position()Gets or sets the position of the data labels.
get_Rotation()Gets or sets the rotation of the data labels of the entire series in degrees.
get_Separator()Gets or sets string separator used for the data labels of the entire series. The default is a comma, except for pie charts showing only category name and percentage, when a line break shall be used instead.
get_ShowBubbleSize()Allows to specify whether bubble size is to be displayed for the data labels of the entire series. Applies only to Bubble charts. Default value is false.
get_ShowCategoryName()Allows to specify whether category name is to be displayed for the data labels of the entire series. Default value is false.
get_ShowDataLabelsRange()Allows to specify whether values from data labels range to be displayed in the data labels of the entire series. Default value is false.
get_ShowLeaderLines()Allows to specify whether data label leader lines need be shown for the data labels of the entire series. Default value is false.
get_ShowLegendKey()Allows to specify whether legend key is to be displayed for the data labels of the entire series. Default value is false.
get_ShowPercentage()Allows to specify whether percentage value is to be displayed for the data labels of the entire series. Default value is false. Applies only to Pie charts.
get_ShowSeriesName()Returns or sets a Boolean to indicate the series name display behavior for the data labels of the entire series. true to show the series name; false to hide. By default false.
get_ShowValue()Allows to specify whether values are to be displayed in the data labels of the entire series. Default value is false.
idx_get(int32_t)Returns ChartDataLabel for the specified index.
set_Orientation(Aspose::Words::Drawing::ShapeTextOrientation)Sets the text orientation of the data labels of the entire series.
set_Position(Aspose::Words::Drawing::Charts::ChartDataLabelPosition)Sets the position of the data labels.
set_Rotation(int32_t)Sets the rotation of the data labels of the entire series in degrees.
set_Separator(const System::String &)Sets string separator used for the data labels of the entire series. The default is a comma, except for pie charts showing only category name and percentage, when a line break shall be used instead.
set_ShowBubbleSize(bool)Allows to specify whether bubble size is to be displayed for the data labels of the entire series. Applies only to Bubble charts. Default value is false.
set_ShowCategoryName(bool)Allows to specify whether category name is to be displayed for the data labels of the entire series. Default value is false.
set_ShowDataLabelsRange(bool)Allows to specify whether values from data labels range to be displayed in the data labels of the entire series. Default value is false.
set_ShowLeaderLines(bool)Allows to specify whether data label leader lines need be shown for the data labels of the entire series. Default value is false.
set_ShowLegendKey(bool)Allows to specify whether legend key is to be displayed for the data labels of the entire series. Default value is false.
set_ShowPercentage(bool)Allows to specify whether percentage value is to be displayed for the data labels of the entire series. Default value is false. Applies only to Pie charts.
set_ShowSeriesName(bool)Sets a Boolean to indicate the series name display behavior for the data labels of the entire series. true to show the series name; false to hide. By default false.
set_ShowValue(bool)Allows to specify whether values are to be displayed in the data labels of the entire series. Default value is false.

See Also