public abstract static class XDDFChartData.Series
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected XDDFDataSource<?> |
categoryData |
protected XDDFNumericalDataSource<? extends java.lang.Number> |
valuesData |
Modifier | Constructor and Description |
---|---|
protected |
Series(XDDFDataSource<?> category,
XDDFNumericalDataSource<? extends java.lang.Number> values) |
Modifier and Type | Method and Description |
---|---|
void |
clearDataPoint(long index)
If a data point definition with the given
index exists, then remove it. |
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTAxDataSource |
getAxDS() |
XDDFDataSource<?> |
getCategoryData() |
XDDFDataPoint |
getDataPoint(long index)
If a data point definition with the given
index exists, then return it. |
protected abstract java.util.List<org.openxmlformats.schemas.drawingml.x2006.chart.CTDPt> |
getDPtList() |
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSource |
getNumDS() |
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTSerTx |
getSeriesText() |
abstract XDDFShapeProperties |
getShapeProperties() |
XDDFNumericalDataSource<? extends java.lang.Number> |
getValuesData() |
void |
plot() |
void |
replaceData(XDDFDataSource<?> category,
XDDFNumericalDataSource<? extends java.lang.Number> values) |
protected org.openxmlformats.schemas.drawingml.x2006.chart.CTNumData |
retrieveNumCache(org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSource numDataSource,
XDDFDataSource<?> data) |
void |
setFillProperties(XDDFFillProperties fill) |
protected abstract void |
setIndex(long index) |
void |
setLineProperties(XDDFLineProperties line) |
protected abstract void |
setOrder(long order) |
abstract void |
setShapeProperties(XDDFShapeProperties properties) |
abstract void |
setShowLeaderLines(boolean showLeaderLines) |
void |
setTitle(java.lang.String title)
Set the Chart Series title.
|
void |
setTitle(java.lang.String title,
CellReference titleRef)
Set the Chart Series title.
|
protected XDDFDataSource<?> categoryData
protected XDDFNumericalDataSource<? extends java.lang.Number> valuesData
protected Series(XDDFDataSource<?> category, XDDFNumericalDataSource<? extends java.lang.Number> values)
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTSerTx getSeriesText()
public abstract void setShowLeaderLines(boolean showLeaderLines)
public abstract XDDFShapeProperties getShapeProperties()
public abstract void setShapeProperties(XDDFShapeProperties properties)
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTAxDataSource getAxDS()
protected abstract org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSource getNumDS()
protected abstract void setIndex(long index)
protected abstract void setOrder(long order)
protected abstract java.util.List<org.openxmlformats.schemas.drawingml.x2006.chart.CTDPt> getDPtList()
public void replaceData(XDDFDataSource<?> category, XDDFNumericalDataSource<? extends java.lang.Number> values)
public void setTitle(java.lang.String title)
title
- chart series titlepublic void setTitle(java.lang.String title, CellReference titleRef)
title
- chart series titletitleRef
- cell referencepublic XDDFDataSource<?> getCategoryData()
public XDDFNumericalDataSource<? extends java.lang.Number> getValuesData()
public void plot()
public void setFillProperties(XDDFFillProperties fill)
fill
- fill property for the shape representing the series.public void setLineProperties(XDDFLineProperties line)
line
- line property for the shape representing the series.public void clearDataPoint(long index)
index
exists, then remove it.
Otherwise do nothing.index
- data point index.public XDDFDataPoint getDataPoint(long index)
index
exists, then return it.
Otherwise create a new data point definition and return it.index
- data point index.index
.protected org.openxmlformats.schemas.drawingml.x2006.chart.CTNumData retrieveNumCache(org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSource numDataSource, XDDFDataSource<?> data)
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.