Class XDDFChartData.Series
java.lang.Object
org.apache.poi.xddf.usermodel.chart.XDDFChartData.Series
- Direct Known Subclasses:
XDDFArea3DChartData.Series,XDDFAreaChartData.Series,XDDFBar3DChartData.Series,XDDFBarChartData.Series,XDDFBubbleChartData.Series,XDDFDoughnutChartData.Series,XDDFLine3DChartData.Series,XDDFLineChartData.Series,XDDFPie3DChartData.Series,XDDFPieChartData.Series,XDDFRadarChartData.Series,XDDFScatterChartData.Series,XDDFSurface3DChartData.Series,XDDFSurfaceChartData.Series
- Enclosing class:
- XDDFChartData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected XDDFDataSource<?>protected XDDFNumericalDataSource<? extends Number> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSeries(XDDFDataSource<?> category, XDDFNumericalDataSource<? extends Number> values) -
Method Summary
Modifier and TypeMethodDescriptionvoidclearDataPoint(long index) If a data point definition with the givenindexexists, then remove it.protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTAxDataSourcegetAxDS()getDataPoint(long index) If a data point definition with the givenindexexists, then return it.protected abstract List<org.openxmlformats.schemas.drawingml.x2006.chart.CTDPt>protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSourcegetNumDS()protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTSerTxabstract XDDFShapePropertiesXDDFNumericalDataSource<? extends Number>voidplot()voidreplaceData(XDDFDataSource<?> category, XDDFNumericalDataSource<? extends Number> values) protected org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataretrieveNumCache(org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSource numDataSource, XDDFDataSource<?> data) voidprotected abstract voidsetIndex(long index) voidprotected abstract voidsetOrder(long order) abstract voidsetShapeProperties(XDDFShapeProperties properties) abstract voidsetShowLeaderLines(boolean showLeaderLines) voidSet the Chart Series title.voidsetTitle(String title, CellReference titleRef) Set the Chart Series title.
-
Field Details
-
categoryData
-
valuesData
-
-
Constructor Details
-
Series
-
-
Method Details
-
getSeriesText
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTSerTx getSeriesText() -
setShowLeaderLines
public abstract void setShowLeaderLines(boolean showLeaderLines) -
getShapeProperties
-
setShapeProperties
-
getAxDS
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTAxDataSource getAxDS() -
getNumDS
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSource getNumDS() -
setIndex
protected abstract void setIndex(long index) -
setOrder
protected abstract void setOrder(long order) -
getDPtList
-
replaceData
public void replaceData(XDDFDataSource<?> category, XDDFNumericalDataSource<? extends Number> values) -
setTitle
Set the Chart Series title.- Parameters:
title- chart series title- Since:
- 5.2.3
-
setTitle
Set the Chart Series title.- Parameters:
title- chart series titletitleRef- cell reference
-
getCategoryData
-
getValuesData
-
plot
public void plot() -
setFillProperties
- Parameters:
fill- fill property for the shape representing the series.- Since:
- 4.1.1
-
setLineProperties
- Parameters:
line- line property for the shape representing the series.- Since:
- 4.1.1
-
clearDataPoint
public void clearDataPoint(long index) If a data point definition with the givenindexexists, then remove it. Otherwise do nothing.- Parameters:
index- data point index.- Since:
- 5.1.0
-
getDataPoint
If a data point definition with the givenindexexists, then return it. Otherwise create a new data point definition and return it.- Parameters:
index- data point index.- Returns:
- the data point with the given
index. - Since:
- 5.1.0
-
retrieveNumCache
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTNumData retrieveNumCache(org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSource numDataSource, XDDFDataSource<?> data)
-