Aspose::Words::Drawing::Charts::ChartDataLabelCollection Class Reference

Detailed Description

Represents a collection of ChartDataLabel.

#include <Aspose.Words.Cpp/Model/Drawing/Charts/ChartDataLabelCollection.h>

+ Inheritance diagram for Aspose::Words::Drawing::Charts::ChartDataLabelCollection:

Public Member Functions

SharedPtr< ChartDataLabelAdd (int32_t index)
 Adds new ChartDataLabel at the specified index. More...
 
void Clear ()
 Clears format of all ChartDataLabel in this collection. More...
 
void ClearFormat ()
 Clears format of all ChartDataLabel in this collection. More...
 
int32_t get_Count ()
 Returns the number of ChartDataLabel in this collection. More...
 
SharedPtr< ChartNumberFormatget_NumberFormat ()
 Gets an ChartNumberFormat instance allowing to set number format for the data labels of the entire series. More...
 
SharedPtr< Aspose::Words::Drawing::Charts::Core::ComplexTypes::DmlChartNumFormat > get_NumFmt_INumberFormatProvider ()
 
String 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. More...
 
bool 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. More...
 
bool get_ShowCategoryName ()
 Allows to specify whether category name is to be displayed for the data labels of the entire series. Default value is false. More...
 
bool 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. More...
 
bool 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. More...
 
bool get_ShowLegendKey ()
 Allows to specify whether legend key is to be displayed for the data labels of the entire series. Default value is false. More...
 
bool get_ShowPercentage ()
 Allows to specify whether percentage value is to be displayed for the data labels of the entire series. Default value is false. More...
 
bool 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. More...
 
bool get_ShowValue ()
 Allows to specify whether values are to be displayed in the data labels of the entire series. Default value is false. More...
 
SharedPtr< IEnumerator< SharedPtr< ChartDataLabel > > > GetEnumerator ()
 Returns an enumerator object. More...
 
SharedPtr< ChartDataLabelidx_get (int32_t index)
 Returns ChartDataLabel for the specified index. More...
 
void RemoveAt (int32_t index)
 Clears format of a ChartDataLabel at the specified index. More...
 
void set_NumFmt_INumberFormatProvider (SharedPtr< Aspose::Words::Drawing::Charts::Core::ComplexTypes::DmlChartNumFormat > value)
 
void set_Separator (String value)
 Setter for get_Separator. More...
 
void set_ShowBubbleSize (bool value)
 Setter for get_ShowBubbleSize. More...
 
void set_ShowCategoryName (bool value)
 Setter for get_ShowCategoryName. More...
 
void set_ShowDataLabelsRange (bool value)
 Setter for get_ShowDataLabelsRange. More...
 
void set_ShowLeaderLines (bool value)
 Setter for get_ShowLeaderLines. More...
 
void set_ShowLegendKey (bool value)
 Setter for get_ShowLegendKey. More...
 
void set_ShowPercentage (bool value)
 Setter for get_ShowPercentage. More...
 
void set_ShowSeriesName (bool value)
 Setter for get_ShowSeriesName. More...
 
void set_ShowValue (bool value)
 Setter for get_ShowValue. More...
 
- Public Member Functions inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Words::Drawing::Charts::ChartDataLabel > >
EnumeratorBasedIterator< T, IEnumerator< T > > begin () noexcept
 
EnumeratorBasedIterator< T, IEnumerator< T > > cbegin () noexcept
 
EnumeratorBasedIterator< T, IEnumerator< T > > cend () noexcept
 
EnumeratorBasedIterator< T, IEnumerator< T > > end () noexcept
 
bool LINQ_All (std::function< bool(T)> predicate)
 
bool LINQ_Any ()
 
bool LINQ_Any (std::function< bool(T)> predicate)
 
SharedPtr< IEnumerable< ResultType > > LINQ_Cast ()
 
SharedPtr< IEnumerable< Result > > LINQ_Cast ()
 
bool LINQ_Contains (T value)
 
int LINQ_Count ()
 
LINQ_ElementAt (int index)
 
LINQ_First ()
 
LINQ_FirstOrDefault ()
 
LINQ_FirstOrDefault (std::function< bool(T)> predicate)
 
LINQ_Last ()
 
LINQ_LastOrDefault ()
 
SharedPtr< IEnumerable< ResultType > > LINQ_OfType ()
 
SharedPtr< IEnumerable< Result > > LINQ_OfType ()
 
SharedPtr< IEnumerable< Result > > LINQ_Select (const Func< Source, Result > &selector)
 
SharedPtr< IEnumerable< ResultType > > LINQ_Select (const Func< T, ResultType > &selector)
 
ArrayPtr< T > LINQ_ToArray ()
 
SharedPtr< List< T > > LINQ_ToList ()
 
SharedPtr< IEnumerable< T > > LINQ_Where (std::function< bool(T)> predicate)
 
- Public Member Functions inherited from Object
ASPOSECPP_SHARED_API Object ()
 
ASPOSECPP_SHARED_API Object (Object const &x)
 
virtual ASPOSECPP_SHARED_API ~Object ()
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 
Detail::SmartPtrCounter * GetCounter ()
 
virtual ASPOSECPP_SHARED_API int GetHashCode () const
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 
ASPOSECPP_SHARED_API void Lock ()
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 
Objectoperator= (Object const &x)
 
bool ReferenceEquals (String const &str, std::nullptr_t)
 
bool ReferenceEquals (String const &str1, String const &str2)
 
int RemovedSharedRefs (int count)
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (unsigned int argument)
 
int SharedCount () const
 
ObjectSharedRefAdded ()
 
int SharedRefRemovedSafe ()
 
virtual ASPOSECPP_SHARED_API String ToString () const
 
ASPOSECPP_SHARED_API void Unlock ()
 
Detail::SmartPtrCounter * WeakRefAdded ()
 
void WeakRefRemoved ()
 

Additional Inherited Members

- Public Types inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Words::Drawing::Charts::ChartDataLabel > >
typedef IEnumerator< T > IEnumeratorType
 
typedef T ValueType
 
- Public Types inherited from Object
typedef SmartPtr< Objectptr
 
typedef System::Details::SharedMembersType shared_members_type
 
- Static Public Member Functions inherited from Object
bool Equals (double const &objA, double const &objB)
 
bool Equals (float const &objA, float const &objB)
 
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 
static const TypeInfoType ()
 

Member Function Documentation

◆ Add()

System::SharedPtr<Aspose::Words::Drawing::Charts::ChartDataLabel> Aspose::Words::Drawing::Charts::ChartDataLabelCollection::Add ( int32_t  index)

Adds new ChartDataLabel at the specified index.

Parameters
indexTarget data label index.

◆ Clear()

void Aspose::Words::Drawing::Charts::ChartDataLabelCollection::Clear ( )

Clears format of all ChartDataLabel in this collection.

◆ ClearFormat()

void Aspose::Words::Drawing::Charts::ChartDataLabelCollection::ClearFormat ( )

Clears format of all ChartDataLabel in this collection.

◆ get_Count()

int32_t Aspose::Words::Drawing::Charts::ChartDataLabelCollection::get_Count ( )

Returns the number of ChartDataLabel in this collection.

◆ get_NumberFormat()

System::SharedPtr<Aspose::Words::Drawing::Charts::ChartNumberFormat> Aspose::Words::Drawing::Charts::ChartDataLabelCollection::get_NumberFormat ( )

Gets an ChartNumberFormat instance allowing to set number format for the data labels of the entire series.

◆ get_NumFmt_INumberFormatProvider()

System::SharedPtr<Aspose::Words::Drawing::Charts::Core::ComplexTypes::DmlChartNumFormat> Aspose::Words::Drawing::Charts::ChartDataLabelCollection::get_NumFmt_INumberFormatProvider ( )

◆ get_Separator()

System::String Aspose::Words::Drawing::Charts::ChartDataLabelCollection::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.

Value defined for this property can be overridden for an individual data label with using the Separator property.

◆ get_ShowBubbleSize()

bool Aspose::Words::Drawing::Charts::ChartDataLabelCollection::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.

Value defined for this property can be overridden for an individual data label with using the ShowBubbleSize property.

◆ get_ShowCategoryName()

bool Aspose::Words::Drawing::Charts::ChartDataLabelCollection::get_ShowCategoryName ( )

Allows to specify whether category name is to be displayed for the data labels of the entire series. Default value is false.

Value defined for this property can be overridden for an individual data label with using the ShowCategoryName property.

◆ get_ShowDataLabelsRange()

bool Aspose::Words::Drawing::Charts::ChartDataLabelCollection::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.

Value defined for this property can be overridden for an individual data label with using the ShowDataLabelsRange property.

◆ get_ShowLeaderLines()

bool Aspose::Words::Drawing::Charts::ChartDataLabelCollection::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.

Applies to Pie charts only. Leader lines create a visual connection between a data label and its corresponding data point.

Value defined for this property can be overridden for an individual data label with using the ShowLeaderLines property.

◆ get_ShowLegendKey()

bool Aspose::Words::Drawing::Charts::ChartDataLabelCollection::get_ShowLegendKey ( )

Allows to specify whether legend key is to be displayed for the data labels of the entire series. Default value is false.

Value defined for this property can be overridden for an individual data label with using the ShowLegendKey property.

◆ get_ShowPercentage()

bool Aspose::Words::Drawing::Charts::ChartDataLabelCollection::get_ShowPercentage ( )

Allows to specify whether percentage value is to be displayed for the data labels of the entire series. Default value is false.

Value defined for this property can be overridden for an individual data label with using the ShowPercentage property.

◆ get_ShowSeriesName()

bool Aspose::Words::Drawing::Charts::ChartDataLabelCollection::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.

Value defined for this property can be overridden for an individual data label with using the ShowSeriesName property.

◆ get_ShowValue()

bool Aspose::Words::Drawing::Charts::ChartDataLabelCollection::get_ShowValue ( )

Allows to specify whether values are to be displayed in the data labels of the entire series. Default value is false.

Value defined for this property can be overridden for an individual data label with using the ShowValue property.

◆ GetEnumerator()

◆ idx_get()

System::SharedPtr<Aspose::Words::Drawing::Charts::ChartDataLabel> Aspose::Words::Drawing::Charts::ChartDataLabelCollection::idx_get ( int32_t  index)

Returns ChartDataLabel for the specified index.

◆ RemoveAt()

void Aspose::Words::Drawing::Charts::ChartDataLabelCollection::RemoveAt ( int32_t  index)

Clears format of a ChartDataLabel at the specified index.

Parameters
indexThe zero-based index of the chart data label to clear format.

◆ set_NumFmt_INumberFormatProvider()

void Aspose::Words::Drawing::Charts::ChartDataLabelCollection::set_NumFmt_INumberFormatProvider ( System::SharedPtr< Aspose::Words::Drawing::Charts::Core::ComplexTypes::DmlChartNumFormat >  value)

◆ set_Separator()

void Aspose::Words::Drawing::Charts::ChartDataLabelCollection::set_Separator ( System::String  value)

◆ set_ShowBubbleSize()

void Aspose::Words::Drawing::Charts::ChartDataLabelCollection::set_ShowBubbleSize ( bool  value)

◆ set_ShowCategoryName()

void Aspose::Words::Drawing::Charts::ChartDataLabelCollection::set_ShowCategoryName ( bool  value)

◆ set_ShowDataLabelsRange()

void Aspose::Words::Drawing::Charts::ChartDataLabelCollection::set_ShowDataLabelsRange ( bool  value)

◆ set_ShowLeaderLines()

void Aspose::Words::Drawing::Charts::ChartDataLabelCollection::set_ShowLeaderLines ( bool  value)

◆ set_ShowLegendKey()

void Aspose::Words::Drawing::Charts::ChartDataLabelCollection::set_ShowLegendKey ( bool  value)

◆ set_ShowPercentage()

void Aspose::Words::Drawing::Charts::ChartDataLabelCollection::set_ShowPercentage ( bool  value)

◆ set_ShowSeriesName()

void Aspose::Words::Drawing::Charts::ChartDataLabelCollection::set_ShowSeriesName ( bool  value)

◆ set_ShowValue()

void Aspose::Words::Drawing::Charts::ChartDataLabelCollection::set_ShowValue ( bool  value)