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

Represents series data point. More...

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

Public Member Functions

System::SharedPtr< IStringOrDoubleChartValueget_XValue ()
 XValue. Read-only IStringOrDoubleChartValue. More...
 
System::SharedPtr< IDoubleChartValueget_YValue ()
 YValue. Read-only IDoubleChartValue. More...
 
System::SharedPtr< IDoubleChartValueget_BubbleSize ()
 BubbleSize. Read-only IDoubleChartValue. More...
 
System::SharedPtr< IDoubleChartValueget_Value ()
 Value. Read-only IDoubleChartValue. More...
 
System::SharedPtr< IDoubleChartValueget_SizeValue ()
 Returns the size value of chart data point. Used with Treemap and Sunburst charts. Read-only IDoubleChartValue. More...
 
System::SharedPtr< IErrorBarsCustomValuesget_ErrorBarsCustomValues ()
 Represents series error bars values in case of Custom value type. Read-only IErrorBarsCustomValues. More...
 
System::SharedPtr< IDataLabelget_Label ()
 Label. Read-only IDataLabel. More...
 
bool get_IsBubble3D ()
 Specifies that the bubbles have a 3-D effect applied to them. Read bool. More...
 
void set_IsBubble3D (bool value)
 Specifies that the bubbles have a 3-D effect applied to them. Write bool. More...
 
int32_t get_Explosion ()
 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)
 Specifies the amount the data point shall be moved from the center of the pie. Write int32_t. More...
 
System::SharedPtr< IFormatget_Format ()
 Represents the formatting properties. Read IFormat. More...
 
void set_Format (System::SharedPtr< IFormat > value)
 Represents the formatting properties. Write IFormat. More...
 
System::SharedPtr< IMarkerget_Marker ()
 Specifies a data marker. Read-only IMarker. More...
 
bool get_SetAsTotal ()
 Sets data point as total. Applied for Waterfall series type only. More...
 
void set_SetAsTotal (bool value)
 Sets data point as total. Applied for Waterfall series type only. More...
 
System::SharedPtr< ILegendEntryPropertiesget_RelatedLegendEntry ()
 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< IDOMObjectget_Parent_Immediate ()
 Returns Parent_Immediate object. Read-only IDOMObject. More...
 
bool get_InvertIfNegative ()
 Specifies the data point shall invert its colors if the value is negative. Read bool. More...
 
void set_InvertIfNegative (bool value)
 Specifies the data point shall invert its colors if the value is negative. Write bool. More...
 
float get_ActualX ()
 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 ()
 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 ()
 Specifies actual width of the chart element. Call method IChart.ValidateChartLayout() before to get actual values. Read float. More...
 
float get_ActualHeight ()
 Specifies actual height of the chart element. Call method IChart.ValidateChartLayout() before to get actual values. Read float. More...
 
void Remove ()
 Removes DataPoint from chart series. More...
 
System::Drawing::Color GetAutomaticDataPointColor ()
 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...
 
- 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 refernce 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 int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. 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...
 
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< Aspose::Slides::UnsupportedProps::PPTXUnsupportedProps::Charts::ChartDataPointPPTXUnsupportedProps > get_PPTXUnsupportedProps ()
 
System::SharedPtr< ChartDataPointCollectionget_ParentDataPointCollection ()
 
bool get_IsOtherPoint ()
 Other point is a point which index was outside of dp collection range. Can be used wiht rendering from chart cache only. More...
 
void set_IsOtherPoint (bool value)
 Other point is a point which index was outside of dp collection range. Can be used wiht rendering from chart cache only. More...
 
System::SharedPtr< ChartCacheValue > get_ValueCached ()
 
System::SharedPtr< ChartCacheValue > get_XValueCached ()
 
System::SharedPtr< ChartCacheValue > get_YValueCached ()
 
System::SharedPtr< ChartCacheValue > get_BubbleSizeCached ()
 
System::SharedPtr< ChartCacheValue > get_XPlusCached ()
 
System::SharedPtr< ChartCacheValue > get_XMinusCached ()
 
System::SharedPtr< ChartCacheValue > get_YPlusCached ()
 
System::SharedPtr< ChartCacheValue > get_YMinusCached ()
 
System::SharedPtr< ChartCacheValue > get_SizeCached ()
 
void set_ActualX (float value)
 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...
 
void set_ActualY (float value)
 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...
 
void set_ActualWidth (float value)
 Specifies actual width of the chart element. Call method IChart.ValidateChartLayout() before to get actual values. Read float. More...
 
void set_ActualHeight (float value)
 Specifies actual height of the chart element. Call method IChart.ValidateChartLayout() before to get actual values. Read float. More...
 
 ChartDataPoint (System::SharedPtr< ChartDataPointCollection > parentImmediate)
 Initializes a new instance of ChartDataPoint class. More...
 
System::SharedPtr< IFormatGetAutomaticDataPointFormat ()
 Returns automatic format for data point based on index, count of points in parent series, IsColorVaried property, available default chart styles and chart style. More...
 
bool IsAllowedAutomaticFormat ()
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. 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...
 

Detailed Description

Represents series data point.

Constructor & Destructor Documentation

◆ ChartDataPoint()

Aspose::Slides::Charts::ChartDataPoint::ChartDataPoint ( System::SharedPtr< ChartDataPointCollection parentImmediate)
protected

Initializes a new instance of ChartDataPoint class.

Member Function Documentation

◆ get_ActualHeight()

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

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 ( )
virtual

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 ( )
virtual

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 ( )
virtual

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 ( )
virtual

BubbleSize. Read-only IDoubleChartValue.

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

◆ get_BubbleSizeCached()

System::SharedPtr<ChartCacheValue> Aspose::Slides::Charts::ChartDataPoint::get_BubbleSizeCached ( )
protected

◆ get_ErrorBarsCustomValues()

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

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 ( )
virtual

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 ( )
virtual

Represents the formatting properties. Read IFormat.

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

◆ get_InvertIfNegative()

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

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 ( )
virtual

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

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

◆ get_IsOtherPoint()

bool Aspose::Slides::Charts::ChartDataPoint::get_IsOtherPoint ( )
protected

Other point is a point which index was outside of dp collection range. Can be used wiht rendering from chart cache only.

◆ get_Label()

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

Label. Read-only IDataLabel.

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

◆ get_Marker()

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

Specifies a data marker. Read-only IMarker.

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

◆ get_Parent_Immediate()

System::SharedPtr<IDOMObject> Aspose::Slides::Charts::ChartDataPoint::get_Parent_Immediate ( )
virtual

Returns Parent_Immediate object. Read-only IDOMObject.

Implements Aspose::Slides::IDOMObject.

◆ get_ParentDataPointCollection()

System::SharedPtr<ChartDataPointCollection> Aspose::Slides::Charts::ChartDataPoint::get_ParentDataPointCollection ( )
protected

◆ get_PPTXUnsupportedProps()

System::SharedPtr<Aspose::Slides::UnsupportedProps::PPTXUnsupportedProps::Charts::ChartDataPointPPTXUnsupportedProps> Aspose::Slides::Charts::ChartDataPoint::get_PPTXUnsupportedProps ( )
protected

◆ get_RelatedLegendEntry()

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

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 ( )
virtual

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

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

◆ get_SizeCached()

System::SharedPtr<ChartCacheValue> Aspose::Slides::Charts::ChartDataPoint::get_SizeCached ( )
protected

◆ get_SizeValue()

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

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 ( )
virtual

◆ get_ValueCached()

System::SharedPtr<ChartCacheValue> Aspose::Slides::Charts::ChartDataPoint::get_ValueCached ( )
protected

◆ get_XMinusCached()

System::SharedPtr<ChartCacheValue> Aspose::Slides::Charts::ChartDataPoint::get_XMinusCached ( )
protected

◆ get_XPlusCached()

System::SharedPtr<ChartCacheValue> Aspose::Slides::Charts::ChartDataPoint::get_XPlusCached ( )
protected

◆ get_XValue()

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

◆ get_XValueCached()

System::SharedPtr<ChartCacheValue> Aspose::Slides::Charts::ChartDataPoint::get_XValueCached ( )
protected

◆ get_YMinusCached()

System::SharedPtr<ChartCacheValue> Aspose::Slides::Charts::ChartDataPoint::get_YMinusCached ( )
protected

◆ get_YPlusCached()

System::SharedPtr<ChartCacheValue> Aspose::Slides::Charts::ChartDataPoint::get_YPlusCached ( )
protected

◆ get_YValue()

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

◆ get_YValueCached()

System::SharedPtr<ChartCacheValue> Aspose::Slides::Charts::ChartDataPoint::get_YValueCached ( )
protected

◆ GetAutomaticDataPointColor()

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

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.

◆ GetAutomaticDataPointFormat()

System::SharedPtr<IFormat> Aspose::Slides::Charts::ChartDataPoint::GetAutomaticDataPointFormat ( )
protected

Returns automatic format for data point based on index, count of points in parent series, IsColorVaried property, available default chart styles and chart style.

Returns
Cached automatic format, or null if automatic format is not allowed for current data point.

◆ IsAllowedAutomaticFormat()

bool Aspose::Slides::Charts::ChartDataPoint::IsAllowedAutomaticFormat ( )
protected

◆ Remove()

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

Removes DataPoint from chart series.

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

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

◆ set_ActualHeight()

void Aspose::Slides::Charts::ChartDataPoint::set_ActualHeight ( float  value)
protected

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

◆ set_ActualWidth()

void Aspose::Slides::Charts::ChartDataPoint::set_ActualWidth ( float  value)
protected

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

◆ set_ActualX()

void Aspose::Slides::Charts::ChartDataPoint::set_ActualX ( float  value)
protected

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.

◆ set_ActualY()

void Aspose::Slides::Charts::ChartDataPoint::set_ActualY ( float  value)
protected

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.

◆ set_Explosion()

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

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

Represents the formatting properties. Write IFormat.

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

◆ set_InvertIfNegative()

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

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

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

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

◆ set_IsOtherPoint()

void Aspose::Slides::Charts::ChartDataPoint::set_IsOtherPoint ( bool  value)
protected

Other point is a point which index was outside of dp collection range. Can be used wiht rendering from chart cache only.

◆ set_SetAsTotal()

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

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

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