@Beta public class XDDFBarChartData extends XDDFChartData
Modifier and Type | Class and Description |
---|---|
class |
XDDFBarChartData.Series |
parent, series
Modifier | Constructor and Description |
---|---|
protected |
XDDFBarChartData(XDDFChart parent,
org.openxmlformats.schemas.drawingml.x2006.chart.CTBarChart chart,
java.util.Map<java.lang.Long,XDDFChartAxis> categories,
java.util.Map<java.lang.Long,XDDFValueAxis> values) |
Modifier and Type | Method and Description |
---|---|
XDDFChartData.Series |
addSeries(XDDFDataSource<?> category,
XDDFNumericalDataSource<? extends java.lang.Number> values) |
BarDirection |
getBarDirection() |
BarGrouping |
getBarGrouping() |
java.lang.Integer |
getGapWidth() |
java.lang.Byte |
getOverlap() |
protected void |
removeCTSeries(int n)
This method should be implemented in every class that extends
XDDFChartData . |
void |
setBarDirection(BarDirection direction) |
void |
setBarGrouping(BarGrouping grouping) |
void |
setGapWidth(java.lang.Integer width) |
void |
setOverlap(java.lang.Byte overlap) |
void |
setVaryColors(java.lang.Boolean varyColors) |
defineAxes, getCategoryAxis, getSeries, getSeries, getSeriesCount, getValueAxes, removeSeries
@Internal protected XDDFBarChartData(XDDFChart parent, org.openxmlformats.schemas.drawingml.x2006.chart.CTBarChart chart, java.util.Map<java.lang.Long,XDDFChartAxis> categories, java.util.Map<java.lang.Long,XDDFValueAxis> values)
@Internal protected void removeCTSeries(int n)
XDDFChartData
XDDFChartData
.
A typical implementation would be
protected void removeCTSeries(int n) {
chart.removeSer(n);
}
removeCTSeries
in class XDDFChartData
public void setVaryColors(java.lang.Boolean varyColors)
setVaryColors
in class XDDFChartData
public BarDirection getBarDirection()
public void setBarDirection(BarDirection direction)
public BarGrouping getBarGrouping()
public void setBarGrouping(BarGrouping grouping)
public java.lang.Integer getGapWidth()
public void setGapWidth(java.lang.Integer width)
public java.lang.Byte getOverlap()
public void setOverlap(java.lang.Byte overlap)
overlap
- public XDDFChartData.Series addSeries(XDDFDataSource<?> category, XDDFNumericalDataSource<? extends java.lang.Number> values)
addSeries
in class XDDFChartData
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.