public class ChartDataPoint extends java.lang.Object implements IChartDataPoint
Represents series data point.
| Modifier and Type | Method and Description |
|---|---|
float |
getActualHeight()
Specifies actual height of the chart element.
|
float |
getActualWidth()
Specifies actual width of the chart element.
|
float |
getActualX()
Specifies actual x location (left) of the chart element relative to the left top corner of the chart.
|
float |
getActualY()
Specifies actual top of the chart element relative to the left top corner of the chart.
|
java.awt.Color |
getAutomaticDataPointColor()
Returns an automatic color of data point based on series index, data point index, ParentSeriesGroup.IsColorVaried propery and chart style.
|
IDoubleChartValue |
getBubbleSize()
BubbleSize.
|
IChartDataPointLevelsManager |
getDataPointLevels()
Returns container of data point levels.
|
IErrorBarsCustomValues |
getErrorBarsCustomValues()
Represents series error bars values in case of Custom value type.
|
int |
getExplosion()
Specifies the amount the data point shall be moved from the center of the pie.
|
IFormat |
getFormat()
Represents the formatting properties.
|
boolean |
getInvertIfNegative()
Specifies the data point shall invert its colors if the value is negative.
|
IDataLabel |
getLabel()
Label.
|
IMarker |
getMarker()
Specifies a data marker.
|
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object.
|
ILegendEntryProperties |
getRelatedLegendEntry()
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.
|
boolean |
getSetAsTotal()
Sets data point as total.
|
IDoubleChartValue |
getSizeValue()
Returns the size value of chart data point.
|
IDoubleChartValue |
getValue()
Value.
|
IStringOrDoubleChartValue |
getXValue()
XValue.
|
IDoubleChartValue |
getYValue()
YValue.
|
boolean |
isBubble3D()
Specifies that the bubbles have a 3-D effect applied to them.
|
void |
remove()
Removes DataPoint from chart series.
|
void |
setBubble3D(boolean value)
Specifies that the bubbles have a 3-D effect applied to them.
|
void |
setExplosion(int value)
Specifies the amount the data point shall be moved from the center of the pie.
|
void |
setFormat(IFormat value)
Represents the formatting properties.
|
void |
setInvertIfNegative(boolean value)
Specifies the data point shall invert its colors if the value is negative.
|
void |
setSetAsTotal(boolean value)
Sets data point as total.
|
public final IStringOrDoubleChartValue getXValue()
XValue.
Read-only IStringOrDoubleChartValue.
getXValue in interface IChartDataPointpublic final IDoubleChartValue getYValue()
YValue.
Read-only IDoubleChartValue.
getYValue in interface IChartDataPointpublic final IDoubleChartValue getBubbleSize()
BubbleSize.
Read-only IDoubleChartValue.
getBubbleSize in interface IChartDataPointpublic final IDoubleChartValue getValue()
Value.
Read-only IDoubleChartValue.
getValue in interface IChartDataPointpublic final IDoubleChartValue getSizeValue()
Returns the size value of chart data point.
Used with Treemap and Sunburst charts.
Read-only IDoubleChartValue.
getSizeValue in interface IChartDataPointpublic final IErrorBarsCustomValues getErrorBarsCustomValues()
Represents series error bars values in case of Custom value type.
Read-only IErrorBarsCustomValues.
getErrorBarsCustomValues in interface IChartDataPointpublic final IDataLabel getLabel()
Label.
Read-only IDataLabel.
getLabel in interface IChartDataPointpublic final boolean isBubble3D()
Specifies that the bubbles have a 3-D effect applied to them.
Read/write boolean.
isBubble3D in interface IChartDataPointpublic final void setBubble3D(boolean value)
Specifies that the bubbles have a 3-D effect applied to them.
Read/write boolean.
setBubble3D in interface IChartDataPointpublic final int getExplosion()
Specifies the amount the data point shall be moved from the center of the pie.
Read/write int.
getExplosion in interface IChartDataPointpublic final void setExplosion(int value)
Specifies the amount the data point shall be moved from the center of the pie.
Read/write int.
setExplosion in interface IChartDataPointpublic final IFormat getFormat()
Represents the formatting properties.
Read/write IFormat.
getFormat in interface IChartDataPointpublic final void setFormat(IFormat value)
Represents the formatting properties.
Read/write IFormat.
setFormat in interface IChartDataPointpublic final IMarker getMarker()
Specifies a data marker.
Read-only IMarker.
getMarker in interface IChartDataPointpublic final boolean getSetAsTotal()
Sets data point as total. Applied for Waterfall series type only.
getSetAsTotal in interface IChartDataPointpublic final void setSetAsTotal(boolean value)
Sets data point as total. Applied for Waterfall series type only.
setSetAsTotal in interface IChartDataPointpublic final ILegendEntryProperties getRelatedLegendEntry()
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.
getRelatedLegendEntry in interface IChartDataPointpublic final void remove()
Removes DataPoint from chart series.
remove in interface IChartDataPointPptxEditException - Thrown if data point is already removed from chart series.public final IChartDataPointLevelsManager getDataPointLevels()
Returns container of data point levels. Applied for Treeamp and Sunburst series. Data point levels indexing is zero-based.
getDataPointLevels in interface IChartDataPointpublic final com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject.
public final java.awt.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.
getAutomaticDataPointColor in interface IChartDataPointpublic final boolean getInvertIfNegative()
Specifies the data point shall invert its colors if the value is negative.
Read/write boolean.
getInvertIfNegative in interface IChartDataPointpublic final void setInvertIfNegative(boolean value)
Specifies the data point shall invert its colors if the value is negative.
Read/write boolean.
setInvertIfNegative in interface IChartDataPointpublic final float getActualX()
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.
getActualX in interface IActualLayoutpublic final float getActualY()
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.
getActualY in interface IActualLayoutpublic final float getActualWidth()
Specifies actual width of the chart element. Call method IChart.ValidateChartLayout() before to get actual values.
Read float.
getActualWidth in interface IActualLayoutpublic final float getActualHeight()
Specifies actual height of the chart element. Call method IChart.ValidateChartLayout() before to get actual values.
Read float.
getActualHeight in interface IActualLayout