@Beta public abstract class XDDFChartData extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
XDDFChartData.Series |
Modifier and Type | Field and Description |
---|---|
protected XDDFChart |
parent |
protected java.util.List<XDDFChartData.Series> |
series |
Modifier | Constructor and Description |
---|---|
protected |
XDDFChartData(XDDFChart chart) |
Modifier and Type | Method and Description |
---|---|
abstract XDDFChartData.Series |
addSeries(XDDFDataSource<?> category,
XDDFNumericalDataSource<? extends java.lang.Number> values) |
protected void |
defineAxes(org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt[] axes,
java.util.Map<java.lang.Long,XDDFChartAxis> categories,
java.util.Map<java.lang.Long,XDDFValueAxis> values) |
XDDFCategoryAxis |
getCategoryAxis() |
java.util.List<XDDFChartData.Series> |
getSeries()
Deprecated.
since POI 4.1.1
|
XDDFChartData.Series |
getSeries(int n) |
int |
getSeriesCount() |
java.util.List<XDDFValueAxis> |
getValueAxes() |
protected abstract void |
removeCTSeries(int n)
This method should be implemented in every class that extends
XDDFChartData . |
void |
removeSeries(int n) |
abstract void |
setVaryColors(java.lang.Boolean varyColors) |
protected XDDFChart parent
protected java.util.List<XDDFChartData.Series> series
protected XDDFChartData(XDDFChart chart)
protected void defineAxes(org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt[] axes, java.util.Map<java.lang.Long,XDDFChartAxis> categories, java.util.Map<java.lang.Long,XDDFValueAxis> values)
public XDDFCategoryAxis getCategoryAxis()
public java.util.List<XDDFValueAxis> getValueAxes()
@Deprecated public java.util.List<XDDFChartData.Series> getSeries()
getSeries().add(series)
or to getSeries().remove(series)
may corrupt the workbook.
Instead, use the following methods:
public final int getSeriesCount()
public final XDDFChartData.Series getSeries(int n)
public final void removeSeries(int n)
@Internal protected abstract void removeCTSeries(int n)
XDDFChartData
.
A typical implementation would be
protected void removeCTSeries(int n) {
chart.removeSer(n);
}
n
- public abstract void setVaryColors(java.lang.Boolean varyColors)
public abstract XDDFChartData.Series addSeries(XDDFDataSource<?> category, XDDFNumericalDataSource<? extends java.lang.Number> values)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.