ChartDataPoint

ChartDataPoint class

Represents series data point.

class ChartDataPoint : public Aspose::Slides::Charts::IChartDataPoint,
                       public Aspose::Slides::IDOMObject

Methods

MethodDescription
virtual bool Equals(ptr)Compares objects using C# Object.Equals semantics.
static std::enable_if<IsSmartPtr<T1>::value&&IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&)Compares reference type objects in C# style.
static std::enable_if<!IsSmartPtr<T1>::value&&!IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&)Compares value type objects in C# style.
static bool Equals(float const&, float const&)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.
static bool Equals(double const&, double const&)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.
virtual bool FastCast(const Details::FastRttiBase&, void **) constFor internal purposes only.
float get_ActualHeight() overrideSpecifies actual height of the chart element. Call method IChart::ValidateChartLayout before to get actual values. Read float.
float get_ActualWidth() overrideSpecifies actual width of the chart element. Call method IChart::ValidateChartLayout before to get actual values. Read float.
float get_ActualX() overrideSpecifies 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.
float get_ActualY() overrideSpecifies 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.
System::SharedPtr<IDoubleChartValue> get_BubbleSize() overrideBubbleSize. Read-only IDoubleChartValue.
System::SharedPtr<IDoubleChartValue> get_ColorValue() overrideReturns the color value of chart data point. Used with Map charts. Read-only IDoubleChartValue.
System::SharedPtr<IChartDataPointLevel> get_DataPointLevel(int32_t) overrideReturns a data point level at the specified index. Applied for Treeamp and Sunburst series. Data point levels indexing is zero-based.
System::SharedPtr<IChartDataPointLevelsManager> get_DataPointLevels() overrideReturns container of data point levels. Applied for Treeamp and Sunburst series. Data point levels indexing is zero-based.
System::SharedPtr<IErrorBarsCustomValues> get_ErrorBarsCustomValues() overrideRepresents series error bars values in case of Custom value type. Read-only IErrorBarsCustomValues.
int32_t get_Explosion() overrideSpecifies the amount the data point shall be moved from the center of the pie. Read int32_t.
System::SharedPtr<IFormat> get_Format() overrideRepresents the formatting properties. Read IFormat.
uint32_t get_Index() overrideDetermines which of the parent’s children collection this data point applies to. Read uint32_t.
bool get_InvertIfNegative() overrideSpecifies the data point shall invert its colors if the value is negative. Read bool.
bool get_IsBubble3D() overrideSpecifies that the bubbles have a 3-D effect applied to them. Read bool.
System::SharedPtr<IDataLabel> get_Label() overrideLabel. Read-only IDataLabel.
System::SharedPtr<IMarker> get_Marker() overrideSpecifies a data marker. Read-only IMarker.
System::SharedPtr<ILegendEntryProperties> get_RelatedLegendEntry() overrideProperties 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.
bool get_SetAsTotal() overrideSets data point as total. Applied for Waterfall series type only.
System::SharedPtr<IDoubleChartValue> get_SizeValue() overrideReturns the size value of chart data point. Used with Treemap and Sunburst charts. Read-only IDoubleChartValue.
System::SharedPtr<IDoubleChartValue> get_Value() overrideValue. Read-only IDoubleChartValue.
System::SharedPtr<IStringOrDoubleChartValue> get_XValue() overrideXValue. Read-only IStringOrDoubleChartValue.
System::SharedPtr<IDoubleChartValue> get_YValue() overrideYValue. Read-only IDoubleChartValue.
System::Drawing::Color GetAutomaticDataPointColor() overrideReturns an automatic color of data point based on series index, data point index, ParentSeriesGroup.IsColorVaried property and chart style. This color is used by default if FillType equals NotDefined.
Detail::SmartPtrCounter * GetCounter()Gets reference counter data structure associated with the object.
virtual int32_t GetHashCode() constAnalog of C# Object.GetHashCode() method. Enables hashing of custom objects.
virtual const TypeInfo& GetType() constGets actual type of object. Analog of C# System.Object.GetType() call.
virtual bool Is(const TypeInfo&) constCheck if object represents an instance of type described by targetType. Analog of C# ‘is’ operator.
void Lock()Implements C# lock() statement locking. Call directly or use LockContext sentry object.
virtual ptr MemberwiseClone() constAnalog of C# Object.MemberwiseClone() method. Enables cloning custom types.
Object()Creates object. Initializes all internal data structures.
Object(Object const&)Copy constructor. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses.
Object& operator=(Object const&)Assignment operator. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses.
static bool ReferenceEquals(ptr const&, ptr const&)Compares objects by reference.
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, T const&)Compares objects by reference.
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, std::nullptr_t)Reference-compares value type object with nullptr.
bool ReferenceEquals(String const&, std::nullptr_t)Specialization of Object::ReferenceEquals for case of string and nullptr.
bool ReferenceEquals(String const&, String const&)Specialization of Object::ReferenceEquals for case of strings.
void Remove() overrideRemoves DataPoint from chart series.
int RemovedSharedRefs(int)Decreases shared reference count by specified value.
void set_Explosion(int32_t) overrideSpecifies the amount the data point shall be moved from the center of the pie. Write int32_t.
void set_Format(System::SharedPtr<IFormat>) overrideRepresents the formatting properties. Write IFormat.
void set_InvertIfNegative(bool) overrideSpecifies the data point shall invert its colors if the value is negative. Write bool.
void set_IsBubble3D(bool) overrideSpecifies that the bubbles have a 3-D effect applied to them. Write bool.
void set_SetAsTotal(bool) overrideSets data point as total. Applied for Waterfall series type only.
virtual void SetTemplateWeakPtr(uint32_t)Set n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
int SharedCount() constGets current value of shared reference counter.
Object * SharedRefAdded()Increments shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
int SharedRefRemovedSafe()Decrements and returns shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
virtual String ToString() constAnalog of C# Object.ToString() method. Enables converting custom objects to string.
static const TypeInfo& Type()Implements C# typeof(System.Object) construct.
void Unlock()Implements C# lock() statement unlocking. Call directly or use LockContext sentry object.
Detail::SmartPtrCounter * WeakRefAdded()Increments weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
void WeakRefRemoved()Decrements weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
virtual ~Object()Destroys object. Frees all internal data structures.

See Also