Package io.keikai.model.impl.chart
Class GeneralChartDataImpl
java.lang.Object
io.keikai.model.impl.chart.ChartDataAdv
io.keikai.model.impl.chart.AbstractGeneralChartDataAdv
io.keikai.model.impl.chart.GeneralChartDataImpl
- All Implemented Interfaces:
SChartData,SGeneralChartData,FormulaContent,LinkedModelObject,Serializable
- Direct Known Subclasses:
BubbleChartDataImpl,DoughnutChartDataImpl,GroupingChartDataImpl,PieChartDataImpl,ScatterChartDataImpl
public abstract class GeneralChartDataImpl
extends AbstractGeneralChartDataAdv
implements SGeneralChartData
- Since:
- 3.5.0
- Author:
- dennis
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidcheckOwnership(SSeries series) voidClear the formula result cache if there is evaluation resultvoidvoiddestroy()Destroy / release this model object, for example all the dependency, parent linking.getCategory(int i) getChart()intintgetSeries(int i) booleanisCategoryHidden(int index) booleanReturn formula parsing state.voidremoveSeries(SSeries series) voidvoidsetCategoriesFormula(String expr) voidsetCategoryAxis(SChartAxis category) voidsetDateAxis(SChartAxis dateAxis) voidsetValueAxes(List<SChartAxis> values) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.keikai.model.chart.SGeneralChartData
getType
-
Constructor Details
-
GeneralChartDataImpl
-
-
Method Details
-
getChart
- Specified by:
getChartin interfaceSChartData- Returns:
- the chart that contains the chart data.
-
getNumOfSeries
public int getNumOfSeries()- Specified by:
getNumOfSeriesin interfaceSGeneralChartData
-
getSeries
- Specified by:
getSeriesin interfaceSGeneralChartData
-
getNumOfCategory
public int getNumOfCategory()- Specified by:
getNumOfCategoryin interfaceSGeneralChartData
-
getCategory
- Specified by:
getCategoryin interfaceSGeneralChartData
-
addSeries
- Specified by:
addSeriesin interfaceSGeneralChartData
-
checkOwnership
-
removeSeries
- Specified by:
removeSeriesin interfaceSGeneralChartData
-
setCategoriesFormula
- Specified by:
setCategoriesFormulain interfaceSGeneralChartData
-
getCategoriesFormula
- Specified by:
getCategoriesFormulain interfaceSGeneralChartData
-
clearFormulaResultCache
public void clearFormulaResultCache()Description copied from interface:FormulaContentClear the formula result cache if there is evaluation result- Specified by:
clearFormulaResultCachein interfaceFormulaContent
-
isFormulaParsingError
public boolean isFormulaParsingError()Description copied from interface:SGeneralChartDataReturn formula parsing state.- Specified by:
isFormulaParsingErrorin interfaceFormulaContent- Specified by:
isFormulaParsingErrorin interfaceSGeneralChartData- Returns:
- true if has error, false if no error or no formula
-
destroy
public void destroy()Description copied from interface:LinkedModelObjectDestroy / release this model object, for example all the dependency, parent linking. this method has to be called before remove this linking from parent object- Specified by:
destroyin interfaceLinkedModelObject
-
checkOrphan
public void checkOrphan()- Specified by:
checkOrphanin interfaceLinkedModelObject
-
copyFrom
-
getCategoriesFormulaExpression
- Specified by:
getCategoriesFormulaExpressionin classAbstractGeneralChartDataAdv- Returns:
- Since:
- 3.6.0
-
setCategoriesFormula
- Specified by:
setCategoriesFormulain classAbstractGeneralChartDataAdv- Parameters:
fexpr-- Since:
- 3.6.0
-
isCategoryHidden
public boolean isCategoryHidden(int index) - Specified by:
isCategoryHiddenin interfaceSGeneralChartData
-
getCategoryAxis
-
setCategoryAxis
-
getDateAxis
-
setDateAxis
-
getValueAxes
-
setValueAxes
-