Aspose::Words::Drawing::Charts::ChartDataPoint class

ChartDataPoint class

Allows to specify formatting of a single data point on the chart. To learn more, visit the Working with Charts documentation article.

class ChartDataPoint : public IChartDataPoint,
                       public Core::IChartFormatSource

Methods

MethodDescription
ClearFormat()Clears format of this data point. The properties are set to the default values defined in the parent series.
get_Bubble3D() overrideSpecifies whether the bubbles in Bubble chart should have a 3-D effect applied to them.
get_Explosion() overrideSpecifies the amount the data point shall be moved from the center of the pie. Can be negative, negative means that property is not set and no explosion should be applied. Applies only to Pie charts.
get_Format()Provides access to fill and line formatting of this data point.
get_Index()Index of the data point this object applies formatting to.
get_InvertIfNegative() overrideSpecifies whether the parent element shall inverts its colors if the value is negative.
get_IsTotal()Gets a flag indicating whether the data point is a total. Applies only to Waterfall charts.
get_Marker() overrideSpecifies chart data marker.
set_Bubble3D(bool) overrideSpecifies whether the bubbles in Bubble chart should have a 3-D effect applied to them.
set_Explosion(int32_t) overrideSpecifies the amount the data point shall be moved from the center of the pie. Can be negative, negative means that property is not set and no explosion should be applied. Applies only to Pie charts.
set_InvertIfNegative(bool) overrideSpecifies whether the parent element shall inverts its colors if the value is negative.
virtual get_Bubble3D()Specifies whether the bubbles in Bubble chart should have a 3-D effect applied to them.
virtual get_Explosion()Specifies the amount the data point shall be moved from the center of the pie. Can be negative, negative means that property is not set and no explosion should be applied. Applies only to Pie charts.
virtual get_InvertIfNegative()Specifies whether the parent element shall inverts its colors if the value is negative.
virtual get_Marker()Specifies a data marker. Marker is automatically created when requested.
virtual set_Bubble3D(bool)Specifies whether the bubbles in Bubble chart should have a 3-D effect applied to them.
virtual set_Explosion(int32_t)Specifies the amount the data point shall be moved from the center of the pie. Can be negative, negative means that property is not set and no explosion should be applied. Applies only to Pie charts.
virtual set_InvertIfNegative(bool)Specifies whether the parent element shall inverts its colors if the value is negative.

Remarks

On a series, the ChartDataPoint object is a member of the ChartDataPointCollection. The ChartDataPointCollection contains a ChartDataPoint object for each point.

See Also