Aspose::Slides::Charts::DataLabelFormat Class Reference

Represents formatting options for DataLabel. More...

Inherits Aspose::Slides::PVIObject, and Aspose::Slides::Charts::IDataLabelFormat.

Public Member Functions

ASPOSE_SLIDES_SHARED_API bool get_IsNumberFormatLinkedToSource ()
 Read bool. More...
 
ASPOSE_SLIDES_SHARED_API void set_IsNumberFormatLinkedToSource (bool value)
 Write bool. More...
 
ASPOSE_SLIDES_SHARED_API System::String get_NumberFormat ()
 Represents the format string for the DataLabels object. Read System::String. More...
 
ASPOSE_SLIDES_SHARED_API void set_NumberFormat (System::String value)
 Represents the format string for the DataLabels object. Write System::String. More...
 
ASPOSE_SLIDES_SHARED_API System::SharedPtr< IFormatget_Format ()
 Represents the format of the data label. Read-only IFormat. More...
 
ASPOSE_SLIDES_SHARED_API LegendDataLabelPosition get_Position ()
 Represents the position of the data label. Read LegendDataLabelPosition. More...
 
ASPOSE_SLIDES_SHARED_API void set_Position (LegendDataLabelPosition value)
 Represents the position of the data label. Write LegendDataLabelPosition. More...
 
ASPOSE_SLIDES_SHARED_API bool get_ShowLegendKey ()
 Represents a specified chart's data label legend key display behavior. True if the data label legend key is visible. Read bool. More...
 
ASPOSE_SLIDES_SHARED_API void set_ShowLegendKey (bool value)
 Represents a specified chart's data label legend key display behavior. True if the data label legend key is visible. Write bool. More...
 
ASPOSE_SLIDES_SHARED_API bool get_ShowValue ()
 Represents a specified chart's data label percentage value display behavior. True displays the percentage value. False to hide. Read bool. More...
 
ASPOSE_SLIDES_SHARED_API void set_ShowValue (bool value)
 Represents a specified chart's data label percentage value display behavior. True displays the percentage value. False to hide. Write bool. More...
 
ASPOSE_SLIDES_SHARED_API bool get_ShowCategoryName ()
 Represents a specified chart's data label category name display behavior. True to display the category name for the data labels on a chart. False to hide. Read bool. More...
 
ASPOSE_SLIDES_SHARED_API void set_ShowCategoryName (bool value)
 Represents a specified chart's data label category name display behavior. True to display the category name for the data labels on a chart. False to hide. Write bool. More...
 
ASPOSE_SLIDES_SHARED_API bool get_ShowSeriesName ()
 Returns a Boolean to indicate the series name display behavior for the data labels on a chart. True to show the series name. False to hide. Read bool. More...
 
ASPOSE_SLIDES_SHARED_API void set_ShowSeriesName (bool value)
 Sets a Boolean to indicate the series name display behavior for the data labels on a chart. True to show the series name. False to hide. Write bool. More...
 
ASPOSE_SLIDES_SHARED_API bool get_ShowPercentage ()
 Represents a specified chart's data label percentage value display behavior. True displays the percentage value. False to hide. Read bool. More...
 
ASPOSE_SLIDES_SHARED_API void set_ShowPercentage (bool value)
 Represents a specified chart's data label percentage value display behavior. True displays the percentage value. False to hide. Write bool. More...
 
ASPOSE_SLIDES_SHARED_API bool get_ShowBubbleSize ()
 Represents a specified chart's data label bubble size value display behavior. True displays the bubble size value. False to hide. Read bool. More...
 
ASPOSE_SLIDES_SHARED_API void set_ShowBubbleSize (bool value)
 Represents a specified chart's data label bubble size value display behavior. True displays the bubble size value. False to hide. Write bool. More...
 
ASPOSE_SLIDES_SHARED_API bool get_ShowLeaderLines ()
 Represents a specified chart's data label leader lines display behavior. True displays the leader lines. False to hide. Read bool. More...
 
ASPOSE_SLIDES_SHARED_API void set_ShowLeaderLines (bool value)
 Represents a specified chart's data label leader lines display behavior. True displays the leader lines. False to hide. Write bool. More...
 
ASPOSE_SLIDES_SHARED_API bool get_ShowLabelValueFromCell ()
 Represents a specified chart's data label cell value display behavior. True displays cell value. False to hide. Read bool. More...
 
ASPOSE_SLIDES_SHARED_API void set_ShowLabelValueFromCell (bool value)
 Represents a specified chart's data label cell value display behavior. True displays cell value. False to hide. Write bool. More...
 
ASPOSE_SLIDES_SHARED_API bool get_ShowLabelAsDataCallout ()
 Determines either specified chart's data label will be displayed as data callout or as data label. More...
 
ASPOSE_SLIDES_SHARED_API void set_ShowLabelAsDataCallout (bool value)
 Determines either specified chart's data label will be displayed as data callout or as data label. More...
 
ASPOSE_SLIDES_SHARED_API System::String get_Separator ()
 Sets or returns a Variant representing the separator used for the data labels on a chart. Read System::String. More...
 
ASPOSE_SLIDES_SHARED_API void set_Separator (System::String value)
 Sets or returns a Variant representing the separator used for the data labels on a chart. Write System::String. More...
 
ASPOSE_SLIDES_SHARED_API System::SharedPtr< IChartTextFormatget_TextFormat ()
 Returns chart text format. Read-only IChartTextFormat. More...
 
ASPOSE_SLIDES_SHARED_API System::SharedPtr< IChartget_Chart ()
 Returns the chart. Read-only IChart. More...
 
- Public Member Functions inherited from Aspose::Slides::PVIObject
virtual ASPOSE_SLIDES_SHARED_API bool Equals (System::SharedPtr< System::Object > obj)
 Compares with specified object. More...
 
virtual ASPOSE_SLIDES_SHARED_API int32_t GetHashCode () const
 Returnst hash code. More...
 
- Public Member Functions inherited from System::Object
 Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ~Object ()
 Destroys object. Frees all internal data structures. More...
 
 Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void SharedRefRemoved ()
 Decrements shared reference count and deletes object if it hits zero. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared refernce counter. More...
 
void FreeOrDetectCycles (int count)
 Reacts on shared reference counter decrement. Shouldn't be called directly, use smart pointers instead. If neccessary, deletes the object. If allowed, initiates loop references lookup. More...
 
void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual String ToString () ASPOSE_CONST
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
void __FreePointers ()
 Resets all smart pointers stored inside this object directly (in fields) or indirectly (in value type fields). Used by memory management systems, shouldn't be called directly. More...
 
virtual void SetTemplateWeakPtr (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Protected Member Functions

System::SharedPtr< DataLabelFormatImpl > get_RealObject ()
 
LegendDataLabelPosition get_PositionInternal ()
 This property is same as Position property but without exception for deserialization More...
 
void set_PositionInternal (LegendDataLabelPosition value)
 This property is same as Position property but without exception for deserialization More...
 
bool get_IsExistedEmptyNodeOnLoad ()
 This flag indicates if format of the data label serialized as empty node. Empty 'c:spPr' node must be saved for properly chart serialization. See related issue SLIDESNET-36987. More...
 
void set_IsExistedEmptyNodeOnLoad (bool value)
 This flag indicates if format of the data label serialized as empty node. Empty 'c:spPr' node must be saved for properly chart serialization. See related issue SLIDESNET-36987. More...
 
System::SharedPtr< IChartComponentget_Parent ()
 
 DataLabelFormat (System::SharedPtr< IDOMObject > parentImmediate)
 
virtual ASPOSE_SLIDES_SHARED_API void CreateChildObjects ()
 
virtual ASPOSE_SLIDES_SHARED_API System::SharedPtr< System::ObjectCreateRealObject ()
 
void CopyDataFrom (System::SharedPtr< IDataLabelFormat > source)
 
- Protected Member Functions inherited from Aspose::Slides::PVIObject
System::SharedPtr< ObjectWrapper > get_Wrapper () const
 
System::SharedPtr< IDOMObjectget_Parent_Immediate ()
 Returns Parent_Immediate object. Read-only IDOMObject. More...
 
void set_Parent_Immediate (System::SharedPtr< IDOMObject > value)
 
virtual ASPOSE_SLIDES_SHARED_API uint32_t get_Version ()
 Version. Read-only uint32_t. More...
 
System::SharedPtr< IPresentationComponentget_Parent_IPresentationComponent ()
 
System::SharedPtr< ISlideComponentget_Parent_ISlideComponent ()
 
System::SharedPtr< IBaseSlideget_Slide ()
 
System::SharedPtr< IPresentationget_Presentation ()
 
 PVIObject (System::SharedPtr< IDOMObject > parentImmediate)
 
void Reset_Parent_IPresentationComponent ()
 
- Protected Member Functions inherited from System::Object
template<class Container , typename Value = typename Container::value_type>
std::enable_if<!System::IsSmartPtr< Value >::value &&!System::detail::is_a< Value, std::pair >::value, void >::type PopulateSharedMembers (Object::shared_members_type &, const char *, Container &)
 
template<class Container , typename Value = typename Container::value_type>
std::enable_if< System::IsSmartPtr< Value >::value, void >::type PopulateSharedMembers (Object::shared_members_type &data, const char *name, Container &container)
 
template<class Container , typename Value = typename Container::value_type>
std::enable_if< System::detail::is_a< Value, std::pair >::value &&!System::IsSmartPtr< typename Value::first_type >::value &&!System::IsSmartPtr< typename Value::second_type >::value, void >::type PopulateSharedMembers (Object::shared_members_type &, const char *, Container &)
 
template<class Container , typename Value = typename Container::value_type>
std::enable_if< System::detail::is_a< Value, std::pair >::value &&System::IsSmartPtr< typename Value::first_type >::value &&!System::IsSmartPtr< typename Value::second_type >::value, void >::type PopulateSharedMembers (Object::shared_members_type &data, const char *name, Container &container)
 
template<class Container , typename Value = typename Container::value_type>
std::enable_if< System::detail::is_a< Value, std::pair >::value &&!System::IsSmartPtr< typename Value::first_type >::value &&System::IsSmartPtr< typename Value::second_type >::value, void >::type PopulateSharedMembers (Object::shared_members_type &data, const char *name, Container &container)
 
template<class Container , typename Value = typename Container::value_type>
std::enable_if< System::detail::is_a< Value, std::pair >::value &&System::IsSmartPtr< typename Value::first_type >::value &&System::IsSmartPtr< typename Value::second_type >::value, void >::type PopulateSharedMembers (Object::shared_members_type &data, const char *name, Container &container)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Impleemnts C# typeof(System.Object) construct. More...
 
- Protected Types inherited from System::Object
template<class T >
using supports_free_pointers = decltype(__SupportsFreePointers(std::declval< T * >()))
 Checks if T type supports __FreePointers() method. More...
 
- Static Protected Member Functions inherited from System::Object
template<class T , class Check = decltype(std::declval<T*>()->__FreePointers())>
static std::true_type __SupportsFreePointers (T *)
 Formal function for template magic to check if type T supports __FreePointers() method. More...
 
static std::false_type __SupportsFreePointers (...)
 Formal function for template magic to check if type T supports __FreePointers() method. More...
 
template<class T >
static std::enable_if< supports_free_pointers< T >::value, void >::type __DoFreePointers (T &t)
 
template<class T >
static std::enable_if<!supports_free_pointers< T >::value &&!std::is_fundamental< T >::value &&!std::is_enum< T >::value &&!std::is_const< T >::value, void >::type __DoFreePointers (const T &)
 
template<class T >
static std::enable_if<!supports_free_pointers< T >::value &&!std::is_fundamental< T >::value &&!std::is_enum< T >::value &&std::is_const< T >::value, void >::type __DoFreePointers (T &)
 
template<class T >
static std::enable_if< std::is_fundamental< T >::value||std::is_enum< T >::value, void >::type __DoFreePointers (T)
 

Detailed Description

Represents formatting options for DataLabel.

Constructor & Destructor Documentation

◆ DataLabelFormat()

Aspose::Slides::Charts::DataLabelFormat::DataLabelFormat ( System::SharedPtr< IDOMObject parentImmediate)
protected

Member Function Documentation

◆ CopyDataFrom()

void Aspose::Slides::Charts::DataLabelFormat::CopyDataFrom ( System::SharedPtr< IDataLabelFormat source)
protected

◆ CreateChildObjects()

virtual ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Charts::DataLabelFormat::CreateChildObjects ( )
protectedvirtual

◆ CreateRealObject()

virtual ASPOSE_SLIDES_SHARED_API System::SharedPtr<System::Object> Aspose::Slides::Charts::DataLabelFormat::CreateRealObject ( )
protectedvirtual

◆ get_Chart()

ASPOSE_SLIDES_SHARED_API System::SharedPtr<IChart> Aspose::Slides::Charts::DataLabelFormat::get_Chart ( )
virtual

Returns the chart. Read-only IChart.

Implements Aspose::Slides::Charts::IChartComponent.

◆ get_Format()

ASPOSE_SLIDES_SHARED_API System::SharedPtr<IFormat> Aspose::Slides::Charts::DataLabelFormat::get_Format ( )
virtual

Represents the format of the data label. Read-only IFormat.

If parent of this DataLabelFormat object is a DataLabelCollection collection of data labels then this property represents the default format for the new data labels in the DataLabelCollection collection.

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ get_IsExistedEmptyNodeOnLoad()

bool Aspose::Slides::Charts::DataLabelFormat::get_IsExistedEmptyNodeOnLoad ( )
protected

This flag indicates if format of the data label serialized as empty node. Empty 'c:spPr' node must be saved for properly chart serialization. See related issue SLIDESNET-36987.

◆ get_IsNumberFormatLinkedToSource()

ASPOSE_SLIDES_SHARED_API bool Aspose::Slides::Charts::DataLabelFormat::get_IsNumberFormatLinkedToSource ( )
virtual

Read bool.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ get_NumberFormat()

ASPOSE_SLIDES_SHARED_API System::String Aspose::Slides::Charts::DataLabelFormat::get_NumberFormat ( )
virtual

Represents the format string for the DataLabels object. Read System::String.

If parent of this DataLabelFormat object is a DataLabelCollection collection of data labels then this property gets or sets the default value of the NumberFormat property for the new data labels in the DataLabelCollection collection. Represents the format string for the DataLabel objects. Set this property with value also sets this value to the NumberFormat property for all data labels in the DataLabelCollection collection (i.e. "DataLabels.DefaultDataLabelFormat.NumberFormat = val;" cause to all DataLabels[i].NumberFormat is equal to val).

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ get_Parent()

System::SharedPtr<IChartComponent> Aspose::Slides::Charts::DataLabelFormat::get_Parent ( )
protected

◆ get_Position()

ASPOSE_SLIDES_SHARED_API LegendDataLabelPosition Aspose::Slides::Charts::DataLabelFormat::get_Position ( )
virtual

Represents the position of the data label. Read LegendDataLabelPosition.

If parent of this DataLabelFormat object is a DataLabelCollection collection of data labels then this property gets or sets the default value of the Position property for the new data labels in the DataLabelCollection collection. Represents the position for the DataLabel objects. Set this property with value also sets this value to the Position property for all data labels in the DataLabelCollection collection (i.e. "DataLabels.DefaultDataLabelFormat.Position = val;" cause to all DataLabels[i].Position is equal to val).

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ get_PositionInternal()

LegendDataLabelPosition Aspose::Slides::Charts::DataLabelFormat::get_PositionInternal ( )
protected

This property is same as Position property but without exception for deserialization

◆ get_RealObject()

System::SharedPtr<DataLabelFormatImpl> Aspose::Slides::Charts::DataLabelFormat::get_RealObject ( )
protected

◆ get_Separator()

ASPOSE_SLIDES_SHARED_API System::String Aspose::Slides::Charts::DataLabelFormat::get_Separator ( )
virtual

Sets or returns a Variant representing the separator used for the data labels on a chart. Read System::String.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ get_ShowBubbleSize()

ASPOSE_SLIDES_SHARED_API bool Aspose::Slides::Charts::DataLabelFormat::get_ShowBubbleSize ( )
virtual

Represents a specified chart's data label bubble size value display behavior. True displays the bubble size value. False to hide. Read bool.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ get_ShowCategoryName()

ASPOSE_SLIDES_SHARED_API bool Aspose::Slides::Charts::DataLabelFormat::get_ShowCategoryName ( )
virtual

Represents a specified chart's data label category name display behavior. True to display the category name for the data labels on a chart. False to hide. Read bool.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ get_ShowLabelAsDataCallout()

ASPOSE_SLIDES_SHARED_API bool Aspose::Slides::Charts::DataLabelFormat::get_ShowLabelAsDataCallout ( )
virtual

Determines either specified chart's data label will be displayed as data callout or as data label.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ get_ShowLabelValueFromCell()

ASPOSE_SLIDES_SHARED_API bool Aspose::Slides::Charts::DataLabelFormat::get_ShowLabelValueFromCell ( )
virtual

Represents a specified chart's data label cell value display behavior. True displays cell value. False to hide. Read bool.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ get_ShowLeaderLines()

ASPOSE_SLIDES_SHARED_API bool Aspose::Slides::Charts::DataLabelFormat::get_ShowLeaderLines ( )
virtual

Represents a specified chart's data label leader lines display behavior. True displays the leader lines. False to hide. Read bool.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ get_ShowLegendKey()

ASPOSE_SLIDES_SHARED_API bool Aspose::Slides::Charts::DataLabelFormat::get_ShowLegendKey ( )
virtual

Represents a specified chart's data label legend key display behavior. True if the data label legend key is visible. Read bool.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ get_ShowPercentage()

ASPOSE_SLIDES_SHARED_API bool Aspose::Slides::Charts::DataLabelFormat::get_ShowPercentage ( )
virtual

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

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).

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ get_ShowSeriesName()

ASPOSE_SLIDES_SHARED_API bool Aspose::Slides::Charts::DataLabelFormat::get_ShowSeriesName ( )
virtual

Returns a Boolean to indicate the series name display behavior for the data labels on a chart. True to show the series name. False to hide. Read bool.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ get_ShowValue()

ASPOSE_SLIDES_SHARED_API bool Aspose::Slides::Charts::DataLabelFormat::get_ShowValue ( )
virtual

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

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ get_TextFormat()

ASPOSE_SLIDES_SHARED_API System::SharedPtr<IChartTextFormat> Aspose::Slides::Charts::DataLabelFormat::get_TextFormat ( )
virtual

Returns chart text format. Read-only IChartTextFormat.

Implements Aspose::Slides::Charts::IFormattedTextContainer.

◆ set_IsExistedEmptyNodeOnLoad()

void Aspose::Slides::Charts::DataLabelFormat::set_IsExistedEmptyNodeOnLoad ( bool  value)
protected

This flag indicates if format of the data label serialized as empty node. Empty 'c:spPr' node must be saved for properly chart serialization. See related issue SLIDESNET-36987.

◆ set_IsNumberFormatLinkedToSource()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Charts::DataLabelFormat::set_IsNumberFormatLinkedToSource ( bool  value)
virtual

Write bool.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ set_NumberFormat()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Charts::DataLabelFormat::set_NumberFormat ( System::String  value)
virtual

Represents the format string for the DataLabels object. Write System::String.

If parent of this DataLabelFormat object is a DataLabelCollection collection of data labels then this property gets or sets the default value of the NumberFormat property for the new data labels in the DataLabelCollection collection. Represents the format string for the DataLabel objects. Set this property with value also sets this value to the NumberFormat property for all data labels in the DataLabelCollection collection (i.e. "DataLabels.DefaultDataLabelFormat.NumberFormat = val;" cause to all DataLabels[i].NumberFormat is equal to val).

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ set_Position()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Charts::DataLabelFormat::set_Position ( LegendDataLabelPosition  value)
virtual

Represents the position of the data label. Write LegendDataLabelPosition.

If parent of this DataLabelFormat object is a DataLabelCollection collection of data labels then this property gets or sets the default value of the Position property for the new data labels in the DataLabelCollection collection. Represents the position for the DataLabel objects. Set this property with value also sets this value to the Position property for all data labels in the DataLabelCollection collection (i.e. "DataLabels.DefaultDataLabelFormat.Position = val;" cause to all DataLabels[i].Position is equal to val).

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ set_PositionInternal()

void Aspose::Slides::Charts::DataLabelFormat::set_PositionInternal ( LegendDataLabelPosition  value)
protected

This property is same as Position property but without exception for deserialization

◆ set_Separator()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Charts::DataLabelFormat::set_Separator ( System::String  value)
virtual

Sets or returns a Variant representing the separator used for the data labels on a chart. Write System::String.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ set_ShowBubbleSize()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Charts::DataLabelFormat::set_ShowBubbleSize ( bool  value)
virtual

Represents a specified chart's data label bubble size value display behavior. True displays the bubble size value. False to hide. Write bool.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ set_ShowCategoryName()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Charts::DataLabelFormat::set_ShowCategoryName ( bool  value)
virtual

Represents a specified chart's data label category name display behavior. True to display the category name for the data labels on a chart. False to hide. Write bool.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ set_ShowLabelAsDataCallout()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Charts::DataLabelFormat::set_ShowLabelAsDataCallout ( bool  value)
virtual

Determines either specified chart's data label will be displayed as data callout or as data label.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ set_ShowLabelValueFromCell()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Charts::DataLabelFormat::set_ShowLabelValueFromCell ( bool  value)
virtual

Represents a specified chart's data label cell value display behavior. True displays cell value. False to hide. Write bool.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ set_ShowLeaderLines()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Charts::DataLabelFormat::set_ShowLeaderLines ( bool  value)
virtual

Represents a specified chart's data label leader lines display behavior. True displays the leader lines. False to hide. Write bool.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ set_ShowLegendKey()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Charts::DataLabelFormat::set_ShowLegendKey ( bool  value)
virtual

Represents a specified chart's data label legend key display behavior. True if the data label legend key is visible. Write bool.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ set_ShowPercentage()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Charts::DataLabelFormat::set_ShowPercentage ( bool  value)
virtual

Represents a specified chart's data label percentage value display behavior. True displays the percentage value. False to hide. Write bool.

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).

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ set_ShowSeriesName()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Charts::DataLabelFormat::set_ShowSeriesName ( bool  value)
virtual

Sets a Boolean to indicate the series name display behavior for the data labels on a chart. True to show the series name. False to hide. Write bool.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.

◆ set_ShowValue()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Charts::DataLabelFormat::set_ShowValue ( bool  value)
virtual

Represents a specified chart's data label percentage value display behavior. True displays the percentage value. False to hide. Write bool.

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

Implements Aspose::Slides::Charts::IDataLabelFormat.