Package io.keikai.model.chart
Interface SGeneralChartData
-
- All Superinterfaces:
FormulaContent
,SChartData
- All Known Implementing Classes:
AreaChartDataImpl
,BarChartDataImpl
,BubbleChartDataImpl
,DoughnutChartDataImpl
,GeneralChartDataImpl
,GroupingChartDataImpl
,LineChartDataImpl
,PieChartDataImpl
,ScatterChartDataImpl
public interface SGeneralChartData extends SChartData
The main object to access the data in a chart including series and categories.- Since:
- 3.5.0
- Author:
- dennis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SSeries
addSeries()
String
getCategoriesFormula()
Object
getCategory(int i)
int
getNumOfCategory()
int
getNumOfSeries()
SSeries
getSeries(int i)
SChart.ChartType
getType()
boolean
isCategoryHidden(int index)
boolean
isFormulaParsingError()
Return formula parsing state.void
removeSeries(SSeries series)
void
setCategoriesFormula(String expr)
-
Methods inherited from interface io.keikai.model.FormulaContent
clearFormulaResultCache
-
Methods inherited from interface io.keikai.model.chart.SChartData
getChart
-
-
-
-
Method Detail
-
isFormulaParsingError
boolean isFormulaParsingError()
Return formula parsing state.- Specified by:
isFormulaParsingError
in interfaceFormulaContent
- Returns:
- true if has error, false if no error or no formula
-
getNumOfSeries
int getNumOfSeries()
-
getSeries
SSeries getSeries(int i)
-
getNumOfCategory
int getNumOfCategory()
-
getCategory
Object getCategory(int i)
-
addSeries
SSeries addSeries()
-
removeSeries
void removeSeries(SSeries series)
-
getCategoriesFormula
String getCategoriesFormula()
-
setCategoriesFormula
void setCategoriesFormula(String expr)
-
isCategoryHidden
boolean isCategoryHidden(int index)
-
getType
SChart.ChartType getType()
-
-