Package io.keikai.model.impl
Class AbstractSeriesAdv
java.lang.Object
io.keikai.model.impl.AbstractSeriesAdv
- All Implemented Interfaces:
SSeries,FormulaContent
- Direct Known Subclasses:
SeriesImpl
Handle formula caching for chart series data.
- Since:
- 3.6.0
- Author:
- henri
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidaddDataPointColors(int index, SColor color) abstract voidaddDataPointExplosion(int index, int explosion) abstract STrendlineAdds a new trendline of the given type and returns it.abstract DataLabelsInfoThe series' declared data-label configuration, or null when the file declared none.KEIKAI-291: per-data-point pie/doughnut slice explosion (in percent, matching OOXML<c:dPt><c:explosion val="..."/>).abstract SColordata point colorsabstract SErrorBarReturns the error bar attached to this series, ornullif none.abstract FormulaExpressionabstract intgetOrder()abstract List<STrendline>Returns an unmodifiable list of trendlines attached to this series.abstract FormulaExpressionabstract FormulaExpressionabstract FormulaExpressionabstract FormulaExpressionabstract booleanabstract booleanisSmooth()abstract voidsetDataLabels(DataLabelsInfo dataLabels) abstract voidsetDataLabelsVisible(boolean dataLabelsVisible) abstract voidsetDefaultColor(SColor defaultColor) abstract voidsetErrorBar(SErrorBar errorBar) Sets the error bar for this series.abstract voidsetOrder(int order) abstract voidsetSmooth(boolean _smooth) abstract voidsetXYZFormula(FormulaExpression nameExpr, FormulaExpression xValuesExpr, FormulaExpression yValuesExpr, FormulaExpression zValuesExpr) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.keikai.model.FormulaContent
clearFormulaResultCache, isFormulaParsingErrorMethods inherited from interface io.keikai.model.chart.SSeries
getId, getName, getNameFormula, getNumOfValue, getNumOfXValue, getNumOfYValue, getNumOfZValue, getValue, getValuesFormula, getXValue, getXValuesFormula, getYValue, getYValuesFormula, getZValue, getZValuesFormula, isNameFomulaHidden, isXValueFomulaHidden, isYValueFomulaHidden, isZValueFomulaHidden, setFormula, setXYFormula, setXYZFormula
-
Constructor Details
-
AbstractSeriesAdv
public AbstractSeriesAdv()
-
-
Method Details
-
getNameFormulaExpression
- Since:
- 3.6.0
-
getValuesFormulaExpression
- Returns:
- Since:
- 3.6.0
-
getXValuesFormulaExpression
- Returns:
- Since:
- 3.6.0
-
getYValuesFormulaExpression
- Returns:
- Since:
- 3.6.0
-
getZValuesFormulaExpression
- Returns:
- Since:
- 3.6.0
-
setXYZFormula
public abstract void setXYZFormula(FormulaExpression nameExpr, FormulaExpression xValuesExpr, FormulaExpression yValuesExpr, FormulaExpression zValuesExpr) - Since:
- 3.6.0
-
getDefaultColor
data point colors- Since:
- 5.2.0
-
setDefaultColor
-
getDataPointColors
-
addDataPointColors
-
getDataPointExplosions
KEIKAI-291: per-data-point pie/doughnut slice explosion (in percent, matching OOXML<c:dPt><c:explosion val="..."/>). Keyed by the 0-based point index; absent /0means no explosion.- Since:
- 5.2.0
-
addDataPointExplosion
public abstract void addDataPointExplosion(int index, int explosion) -
getOrder
public abstract int getOrder()- Since:
- 5.3.0
-
setOrder
public abstract void setOrder(int order) -
isSmooth
public abstract boolean isSmooth()- Since:
- 5.3.0
-
setSmooth
public abstract void setSmooth(boolean _smooth) -
isDataLabelsVisible
public abstract boolean isDataLabelsVisible() -
setDataLabelsVisible
public abstract void setDataLabelsVisible(boolean dataLabelsVisible) -
getDataLabels
The series' declared data-label configuration, or null when the file declared none.isDataLabelsVisible()answers only whether labels are drawn; this says what they contain.- Since:
- 7.0.0
-
setDataLabels
-
getTrendlines
Description copied from interface:SSeriesReturns an unmodifiable list of trendlines attached to this series.- Specified by:
getTrendlinesin interfaceSSeries- Returns:
- the trendlines, never
null - Since:
- 7.0.0
-
addTrendline
Description copied from interface:SSeriesAdds a new trendline of the given type and returns it.- Specified by:
addTrendlinein interfaceSSeries- Parameters:
type- the trendline type- Returns:
- the newly created trendline
- Since:
- 7.0.0
-
getErrorBar
Description copied from interface:SSeriesReturns the error bar attached to this series, ornullif none.- Specified by:
getErrorBarin interfaceSSeries- Returns:
- the error bar, or
null - Since:
- 7.0.0
-
setErrorBar
Description copied from interface:SSeriesSets the error bar for this series.- Specified by:
setErrorBarin interfaceSSeries- Parameters:
errorBar- the error bar, ornullto remove- Since:
- 7.0.0
-