Aspose::Slides::Charts::ChartDataPoint Class Reference

Represents series data point. More...

#include <ChartDataPoint.h>

Inherits Aspose::Slides::Charts::IChartDataPoint, and Aspose::Slides::IDOMObject.

Public Member Functions

System::SharedPtr< IStringOrDoubleChartValueget_XValue () override
 XValue. Read-only IStringOrDoubleChartValue. More...
 
System::SharedPtr< IDoubleChartValueget_YValue () override
 YValue. Read-only IDoubleChartValue. More...
 
System::SharedPtr< IDoubleChartValueget_BubbleSize () override
 BubbleSize. Read-only IDoubleChartValue. More...
 
System::SharedPtr< IDoubleChartValueget_Value () override
 Value. Read-only IDoubleChartValue. More...
 
System::SharedPtr< IDoubleChartValueget_SizeValue () override
 Returns the size value of chart data point. Used with Treemap and Sunburst charts. Read-only IDoubleChartValue. More...
 
System::SharedPtr< IDoubleChartValueget_ColorValue () override
 Returns the color value of chart data point. Used with Map charts. Read-only IDoubleChartValue. More...
 
System::SharedPtr< IErrorBarsCustomValuesget_ErrorBarsCustomValues () override
 Represents series error bars values in case of Custom value type. Read-only IErrorBarsCustomValues. More...
 
System::SharedPtr< IDataLabelget_Label () override
 Label. Read-only IDataLabel. More...
 
bool get_IsBubble3D () override
 Specifies that the bubbles have a 3-D effect applied to them. Read bool. More...
 
void set_IsBubble3D (bool value) override
 Specifies that the bubbles have a 3-D effect applied to them. Write bool. More...
 
int32_t get_Explosion () override
 Specifies the amount the data point shall be moved from the center of the pie. Read int32_t. More...
 
void set_Explosion (int32_t value) override
 Specifies the amount the data point shall be moved from the center of the pie. Write int32_t. More...
 
System::SharedPtr< IFormatget_Format () override
 Represents the formatting properties. Read IFormat. More...
 
void set_Format (System::SharedPtr< IFormat > value) override
 Represents the formatting properties. Write IFormat. More...
 
System::SharedPtr< IMarkerget_Marker () override
 Specifies a data marker. Read-only IMarker. More...
 
bool get_SetAsTotal () override
 Sets data point as total. Applied for Waterfall series type only. More...
 
void set_SetAsTotal (bool value) override
 Sets data point as total. Applied for Waterfall series type only. More...
 
System::SharedPtr< ILegendEntryPropertiesget_RelatedLegendEntry () override
 Properties of corresponding legend entry in case of chart type from this list: ChartType::BarOfPie, ChartType::ExplodedPie, ChartType::ExplodedPie3D, ChartType::Pie, ChartType::Pie3D, ChartType::PieOfPie. Read-only ILegendEntryProperties. More...
 
System::SharedPtr< IChartDataPointLevelsManagerget_DataPointLevels () override
 Returns container of data point levels. Applied for Treeamp and Sunburst series. Data point levels indexing is zero-based. More...
 
uint32_t get_Index () override
 Determines which of the parent's children collection this data point applies to. Read uint32_t. More...
 
bool get_InvertIfNegative () override
 Specifies the data point shall invert its colors if the value is negative. Read bool. More...
 
void set_InvertIfNegative (bool value) override
 Specifies the data point shall invert its colors if the value is negative. Write bool. More...
 
float get_ActualX () override
 Specifies actual x location (left) of the chart element relative to the left top corner of the chart. Call method IChart::ValidateChartLayout before to get actual values. Read float. More...
 
float get_ActualY () override
 Specifies actual top of the chart element relative to the left top corner of the chart. Call method IChart::ValidateChartLayout before to get actual values. Read float. More...
 
float get_ActualWidth () override
 Specifies actual width of the chart element. Call method IChart::ValidateChartLayout before to get actual values. Read float. More...
 
float get_ActualHeight () override
 Specifies actual height of the chart element. Call method IChart::ValidateChartLayout before to get actual values. Read float. More...
 
void Remove () override
 Removes DataPoint from chart series. More...
 
System::Drawing::Color GetAutomaticDataPointColor () override
 Returns an automatic color of data point based on series index, data point index, ParentSeriesGroup.IsColorVaried propery and chart style. This color is used by default if FillType equals NotDefined. More...
 
System::SharedPtr< IChartDataPointLevelget_DataPointLevel (int32_t level) override
 Returns a data point level at the specified index. Applied for Treeamp and Sunburst series. Data point levels indexing is zero-based. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API System::SharedPtr< IStringOrDoubleChartValueget_XValue ()=0
 Returns the x value of chart data point. Read-only IStringOrDoubleChartValue. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API System::SharedPtr< IDoubleChartValueget_YValue ()=0
 Returns the y value of chart data point. Read-only IDoubleChartValue. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API System::SharedPtr< IDoubleChartValueget_BubbleSize ()=0
 Returns the bubble size of chart data point. Read-only IDoubleChartValue. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API System::SharedPtr< IDoubleChartValueget_Value ()=0
 Returns the value of chart data point. Read-only IDoubleChartValue. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API System::SharedPtr< IDoubleChartValueget_SizeValue ()=0
 Returns the size value of chart data point. Used with Treemap and Sunburst charts. Read-only IDoubleChartValue. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API System::SharedPtr< IDoubleChartValueget_ColorValue ()=0
 Returns the color value of chart data point. Used with Map charts. Read-only IDoubleChartValue. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API System::SharedPtr< IErrorBarsCustomValuesget_ErrorBarsCustomValues ()=0
 Represents series error bars values in case of Custom value type. Read-only IErrorBarsCustomValues. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API System::SharedPtr< IDataLabelget_Label ()=0
 Represents the lable of chart data point. Read-only IDataLabel. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API bool get_IsBubble3D ()=0
 Specifies that the bubbles have a 3-D effect applied to them. Read bool. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API void set_IsBubble3D (bool value)=0
 Specifies that the bubbles have a 3-D effect applied to them. Write bool. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API int32_t get_Explosion ()=0
 Specifies the amount the data point shall be moved from the center of the pie. Read int32_t. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API void set_Explosion (int32_t value)=0
 Specifies the amount the data point shall be moved from the center of the pie. Write int32_t. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API System::SharedPtr< IFormatget_Format ()=0
 Represents the formatting properties. Read IFormat. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API void set_Format (System::SharedPtr< IFormat > value)=0
 Represents the formatting properties. Write IFormat. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API System::SharedPtr< IMarkerget_Marker ()=0
 Specifies a data marker. Read-only IMarker. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API System::SharedPtr< ILegendEntryPropertiesget_RelatedLegendEntry ()=0
 Properties of corresponding legend entry in case of chart type from this list: ChartType::BarOfPie, ChartType::ExplodedPie, ChartType::ExplodedPie3D, ChartType::Pie, ChartType::Pie3D, ChartType::PieOfPie. Read-only ILegendEntryProperties. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API bool get_SetAsTotal ()=0
 Sets data point as total. Applied for Waterfall series type only. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API void set_SetAsTotal (bool value)=0
 Sets data point as total. Applied for Waterfall series type only. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API bool get_InvertIfNegative ()=0
 Specifies the data point shall invert its colors if the value is negative. Read bool. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API void set_InvertIfNegative (bool value)=0
 Specifies the data point shall invert its colors if the value is negative. Write bool. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API System::SharedPtr< IChartDataPointLevelsManagerget_DataPointLevels ()=0
 Returns container of data point levels. Applied for Treeamp and Sunburst series. Data point levels indexing is zero-based. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API uint32_t get_Index ()=0
 Determines which of the parent's children collection this data point applies to. Read uint32_t. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API void Remove ()=0
 Removes DataPoint from chart series. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API System::Drawing::Color GetAutomaticDataPointColor ()=0
 Returns an automatic color of data point based on series index, data point index, ParentSeriesGroup.IsColorVaried propery and chart style. This color is used by default if FillType equals NotDefined. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API System::SharedPtr< IChartDataPointLevelget_DataPointLevel (int32_t level)=0
 Returns a data point level at the specified index. Applied for Treeamp and Sunburst series. Data point levels indexing is zero-based. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API float get_ActualX ()=0
 Specifies actual x location (left) of the chart element relative to the left top corner of the chart. Call method IChart::ValidateChartLayout before to get actual values. Read float. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API float get_ActualY ()=0
 Specifies actual top of the chart element relative to the left top corner of the chart. Call method IChart::ValidateChartLayout before to get actual values. Read float. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API float get_ActualWidth ()=0
 Specifies actual width of the chart element. Call method IChart::ValidateChartLayout before to get actual values. Read float. More...
 
virtual ASPOSE_SLIDES_API_LOCAL_API float get_ActualHeight ()=0
 Specifies actual height of the chart element. Call method IChart::ValidateChartLayout before to get actual values. Read float. 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...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. 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 reference counter. 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 int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual String ToString () 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...
 
virtual void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr. More...
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings. More...
 
virtual ASPOSE_SLIDES_LOCAL_API System::SharedPtr< IDOMObjectget_Parent_Immediate ()=0
 Returns Parent_Immediate object. Read-only IDOMObject. More...
 

Protected Member Functions

virtual ~ChartDataPoint ()
 

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 ()
 Implements C# typeof(System.Object) construct. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool Equals (double const &objA, double const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 

Detailed Description

Represents series data point.

Constructor & Destructor Documentation

◆ ~ChartDataPoint()

virtual Aspose::Slides::Charts::ChartDataPoint::~ChartDataPoint ( )
protectedvirtual

Member Function Documentation

◆ get_ActualHeight()

float Aspose::Slides::Charts::ChartDataPoint::get_ActualHeight ( )
overridevirtual

Specifies actual height of the chart element. Call method IChart::ValidateChartLayout before to get actual values. Read float.

Implements Aspose::Slides::Charts::IActualLayout.

◆ get_ActualWidth()

float Aspose::Slides::Charts::ChartDataPoint::get_ActualWidth ( )
overridevirtual

Specifies actual width of the chart element. Call method IChart::ValidateChartLayout before to get actual values. Read float.

Implements Aspose::Slides::Charts::IActualLayout.

◆ get_ActualX()

float Aspose::Slides::Charts::ChartDataPoint::get_ActualX ( )
overridevirtual

Specifies actual x location (left) of the chart element relative to the left top corner of the chart. Call method IChart::ValidateChartLayout before to get actual values. Read float.

Implements Aspose::Slides::Charts::IActualLayout.

◆ get_ActualY()

float Aspose::Slides::Charts::ChartDataPoint::get_ActualY ( )
overridevirtual

Specifies actual top of the chart element relative to the left top corner of the chart. Call method IChart::ValidateChartLayout before to get actual values. Read float.

Implements Aspose::Slides::Charts::IActualLayout.

◆ get_BubbleSize()

System::SharedPtr< IDoubleChartValue > Aspose::Slides::Charts::ChartDataPoint::get_BubbleSize ( )
overridevirtual

BubbleSize. Read-only IDoubleChartValue.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ get_ColorValue()

System::SharedPtr< IDoubleChartValue > Aspose::Slides::Charts::ChartDataPoint::get_ColorValue ( )
overridevirtual

Returns the color value of chart data point. Used with Map charts. Read-only IDoubleChartValue.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ get_DataPointLevel()

System::SharedPtr< IChartDataPointLevel > Aspose::Slides::Charts::ChartDataPoint::get_DataPointLevel ( int32_t  level)
overridevirtual

Returns a data point level at the specified index. Applied for Treeamp and Sunburst series. Data point levels indexing is zero-based.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ get_DataPointLevels()

System::SharedPtr< IChartDataPointLevelsManager > Aspose::Slides::Charts::ChartDataPoint::get_DataPointLevels ( )
overridevirtual

Returns container of data point levels. Applied for Treeamp and Sunburst series. Data point levels indexing is zero-based.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ get_ErrorBarsCustomValues()

System::SharedPtr< IErrorBarsCustomValues > Aspose::Slides::Charts::ChartDataPoint::get_ErrorBarsCustomValues ( )
overridevirtual

Represents series error bars values in case of Custom value type. Read-only IErrorBarsCustomValues.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ get_Explosion()

int32_t Aspose::Slides::Charts::ChartDataPoint::get_Explosion ( )
overridevirtual

Specifies the amount the data point shall be moved from the center of the pie. Read int32_t.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ get_Format()

System::SharedPtr< IFormat > Aspose::Slides::Charts::ChartDataPoint::get_Format ( )
overridevirtual

Represents the formatting properties. Read IFormat.


Implements Aspose::Slides::Charts::IChartDataPoint.

◆ get_Index()

uint32_t Aspose::Slides::Charts::ChartDataPoint::get_Index ( )
overridevirtual

Determines which of the parent's children collection this data point applies to. Read uint32_t.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ get_InvertIfNegative()

bool Aspose::Slides::Charts::ChartDataPoint::get_InvertIfNegative ( )
overridevirtual

Specifies the data point shall invert its colors if the value is negative. Read bool.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ get_IsBubble3D()

bool Aspose::Slides::Charts::ChartDataPoint::get_IsBubble3D ( )
overridevirtual

Specifies that the bubbles have a 3-D effect applied to them. Read bool.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ get_Label()

System::SharedPtr< IDataLabel > Aspose::Slides::Charts::ChartDataPoint::get_Label ( )
overridevirtual

Label. Read-only IDataLabel.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ get_Marker()

System::SharedPtr< IMarker > Aspose::Slides::Charts::ChartDataPoint::get_Marker ( )
overridevirtual

Specifies a data marker. Read-only IMarker.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ get_RelatedLegendEntry()

System::SharedPtr< ILegendEntryProperties > Aspose::Slides::Charts::ChartDataPoint::get_RelatedLegendEntry ( )
overridevirtual

Properties of corresponding legend entry in case of chart type from this list: ChartType::BarOfPie, ChartType::ExplodedPie, ChartType::ExplodedPie3D, ChartType::Pie, ChartType::Pie3D, ChartType::PieOfPie. Read-only ILegendEntryProperties.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ get_SetAsTotal()

bool Aspose::Slides::Charts::ChartDataPoint::get_SetAsTotal ( )
overridevirtual

Sets data point as total. Applied for Waterfall series type only.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ get_SizeValue()

System::SharedPtr< IDoubleChartValue > Aspose::Slides::Charts::ChartDataPoint::get_SizeValue ( )
overridevirtual

Returns the size value of chart data point. Used with Treemap and Sunburst charts. Read-only IDoubleChartValue.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ get_Value()

System::SharedPtr< IDoubleChartValue > Aspose::Slides::Charts::ChartDataPoint::get_Value ( )
overridevirtual

◆ get_XValue()

System::SharedPtr< IStringOrDoubleChartValue > Aspose::Slides::Charts::ChartDataPoint::get_XValue ( )
overridevirtual

◆ get_YValue()

System::SharedPtr< IDoubleChartValue > Aspose::Slides::Charts::ChartDataPoint::get_YValue ( )
overridevirtual

◆ GetAutomaticDataPointColor()

System::Drawing::Color Aspose::Slides::Charts::ChartDataPoint::GetAutomaticDataPointColor ( )
overridevirtual

Returns an automatic color of data point based on series index, data point index, ParentSeriesGroup.IsColorVaried propery and chart style. This color is used by default if FillType equals NotDefined.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ Remove()

void Aspose::Slides::Charts::ChartDataPoint::Remove ( )
overridevirtual

Removes DataPoint from chart series.

Exceptions
PptxEditExceptionThrown if data point is already removed from chart series.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ set_Explosion()

void Aspose::Slides::Charts::ChartDataPoint::set_Explosion ( int32_t  value)
overridevirtual

Specifies the amount the data point shall be moved from the center of the pie. Write int32_t.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ set_Format()

void Aspose::Slides::Charts::ChartDataPoint::set_Format ( System::SharedPtr< IFormat value)
overridevirtual

Represents the formatting properties. Write IFormat.


Implements Aspose::Slides::Charts::IChartDataPoint.

◆ set_InvertIfNegative()

void Aspose::Slides::Charts::ChartDataPoint::set_InvertIfNegative ( bool  value)
overridevirtual

Specifies the data point shall invert its colors if the value is negative. Write bool.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ set_IsBubble3D()

void Aspose::Slides::Charts::ChartDataPoint::set_IsBubble3D ( bool  value)
overridevirtual

Specifies that the bubbles have a 3-D effect applied to them. Write bool.

Implements Aspose::Slides::Charts::IChartDataPoint.

◆ set_SetAsTotal()

void Aspose::Slides::Charts::ChartDataPoint::set_SetAsTotal ( bool  value)
overridevirtual

Sets data point as total. Applied for Waterfall series type only.

Implements Aspose::Slides::Charts::IChartDataPoint.