Package io.keikai.model.chart
Interface SSeries
- All Superinterfaces:
FormulaContent
- All Known Implementing Classes:
AbstractSeriesAdv,SeriesImpl
A series of chart data.
- Since:
- 3.5.0
- Author:
- dennis
-
Method Summary
Modifier and TypeMethodDescriptionAdds a new trendline of the given type and returns it.Returns the error bar attached to this series, ornullif none.getId()getName()intintGets the number of x value, the result is same asgetNumOfValue()intintReturns an unmodifiable list of trendlines attached to this series.getValue(int index) getXValue(int index) Gets the x value formula, the result is same asgetValuesFormula()getYValue(int index) getZValue(int index) booleanisNameFomulaHidden(int index) detect visibility for indexbooleanisXValueFomulaHidden(int index) booleanisYValueFomulaHidden(int index) booleanisZValueFomulaHidden(int index) voidsetErrorBar(SErrorBar errorBar) Sets the error bar for this series.voidsetFormula(String nameExpr, String valuesExpr) voidsetXYFormula(String nameExpr, String xValuesExpr, String yValuesExpr) voidsetXYZFormula(String nameExpr, String xValuesExpr, String yValuesExpr, String zValuesExpr) Methods inherited from interface io.keikai.model.FormulaContent
clearFormulaResultCache, isFormulaParsingError
-
Method Details
-
getName
String getName() -
getId
String getId() -
getNumOfValue
int getNumOfValue() -
getValue
-
getNumOfXValue
int getNumOfXValue()Gets the number of x value, the result is same asgetNumOfValue()- Returns:
-
getXValue
- Returns:
- returns the x value specifed by the index, the result is same as
getValue(int)
-
getNumOfYValue
int getNumOfYValue() -
getYValue
-
getNumOfZValue
int getNumOfZValue() -
getZValue
-
setFormula
-
setXYFormula
-
setXYZFormula
-
getNameFormula
String getNameFormula() -
getValuesFormula
String getValuesFormula() -
getXValuesFormula
String getXValuesFormula()Gets the x value formula, the result is same asgetValuesFormula()- Returns:
-
getYValuesFormula
String getYValuesFormula() -
getZValuesFormula
String getZValuesFormula() -
isNameFomulaHidden
boolean isNameFomulaHidden(int index) detect visibility for index- Returns:
-
isXValueFomulaHidden
boolean isXValueFomulaHidden(int index) -
isYValueFomulaHidden
boolean isYValueFomulaHidden(int index) -
isZValueFomulaHidden
boolean isZValueFomulaHidden(int index) -
getTrendlines
List<STrendline> getTrendlines()Returns an unmodifiable list of trendlines attached to this series.- Returns:
- the trendlines, never
null - Since:
- 7.0.0
-
addTrendline
Adds a new trendline of the given type and returns it.- Parameters:
type- the trendline type- Returns:
- the newly created trendline
- Since:
- 7.0.0
-
getErrorBar
SErrorBar getErrorBar()Returns the error bar attached to this series, ornullif none.- Returns:
- the error bar, or
null - Since:
- 7.0.0
-
setErrorBar
Sets the error bar for this series.- Parameters:
errorBar- the error bar, ornullto remove- Since:
- 7.0.0
-