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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GeneralChartDataImpl(AbstractChartAdv chart, String id)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.keikai.model.chart.SGeneralChartData
getType
-
-
-
-
Constructor Detail
-
GeneralChartDataImpl
public GeneralChartDataImpl(AbstractChartAdv chart, String id)
-
-
Method Detail
-
getChart
public SChart getChart()
- Specified by:
getChartin interfaceSChartData- Returns:
- the chart that contains the chart data.
-
getNumOfSeries
public int getNumOfSeries()
- Specified by:
getNumOfSeriesin interfaceSGeneralChartData
-
getSeries
public SSeries getSeries(int i)
- Specified by:
getSeriesin interfaceSGeneralChartData
-
getNumOfCategory
public int getNumOfCategory()
- Specified by:
getNumOfCategoryin interfaceSGeneralChartData
-
getCategory
public Object getCategory(int i)
- Specified by:
getCategoryin interfaceSGeneralChartData
-
addSeries
public SSeries addSeries()
- Specified by:
addSeriesin interfaceSGeneralChartData
-
checkOwnership
protected void checkOwnership(SSeries series)
-
removeSeries
public void removeSeries(SSeries series)
- Specified by:
removeSeriesin interfaceSGeneralChartData
-
setCategoriesFormula
public void setCategoriesFormula(String expr)
- Specified by:
setCategoriesFormulain interfaceSGeneralChartData
-
getCategoriesFormula
public String 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
public void copyFrom(GeneralChartDataImpl src)
-
getCategoriesFormulaExpression
public FormulaExpression getCategoriesFormulaExpression()
- Specified by:
getCategoriesFormulaExpressionin classAbstractGeneralChartDataAdv- Returns:
- Since:
- 3.6.0
-
setCategoriesFormula
public void setCategoriesFormula(FormulaExpression fexpr)
- Specified by:
setCategoriesFormulain classAbstractGeneralChartDataAdv- Parameters:
fexpr-- Since:
- 3.6.0
-
isCategoryHidden
public boolean isCategoryHidden(int index)
- Specified by:
isCategoryHiddenin interfaceSGeneralChartData
-
getCategoryAxis
public SChartAxis getCategoryAxis()
-
setCategoryAxis
public void setCategoryAxis(SChartAxis category)
-
getDateAxis
public SChartAxis getDateAxis()
-
setDateAxis
public void setDateAxis(SChartAxis dateAxis)
-
getValueAxes
public List<SChartAxis> getValueAxes()
-
setValueAxes
public void setValueAxes(List<SChartAxis> values)
-
-