public class GeneralChartDataImpl extends AbstractGeneralChartDataAdv implements SGeneralChartData
Constructor and Description |
---|
GeneralChartDataImpl(AbstractChartAdv chart,
String id) |
Modifier and Type | Method and Description |
---|---|
SSeries |
addSeries() |
void |
checkOrphan() |
protected void |
checkOwnership(SSeries series) |
void |
clearFormulaResultCache()
Clear the formula result cache if there is evaluation result
|
void |
copyFrom(GeneralChartDataImpl src) |
void |
destroy()
Destroy / release this model object, for example all the dependency, parent linking.
|
String |
getCategoriesFormula() |
FormulaExpression |
getCategoriesFormulaExpression() |
Object |
getCategory(int i) |
SChart |
getChart() |
int |
getNumOfCategory() |
int |
getNumOfSeries() |
SSeries |
getSeries(int i) |
boolean |
isCategoryHidden(int index) |
boolean |
isFormulaParsingError()
Return formula parsing state.
|
void |
removeSeries(SSeries series) |
void |
setCategoriesFormula(FormulaExpression fexpr) |
void |
setCategoriesFormula(String expr) |
public GeneralChartDataImpl(AbstractChartAdv chart, String id)
public SChart getChart()
getChart
in interface SChartData
public int getNumOfSeries()
getNumOfSeries
in interface SGeneralChartData
public SSeries getSeries(int i)
getSeries
in interface SGeneralChartData
public int getNumOfCategory()
getNumOfCategory
in interface SGeneralChartData
public Object getCategory(int i)
getCategory
in interface SGeneralChartData
public SSeries addSeries()
addSeries
in interface SGeneralChartData
protected void checkOwnership(SSeries series)
public void removeSeries(SSeries series)
removeSeries
in interface SGeneralChartData
public void setCategoriesFormula(String expr)
setCategoriesFormula
in interface SGeneralChartData
public String getCategoriesFormula()
getCategoriesFormula
in interface SGeneralChartData
public void clearFormulaResultCache()
FormulaContent
clearFormulaResultCache
in interface FormulaContent
public boolean isFormulaParsingError()
SGeneralChartData
isFormulaParsingError
in interface SGeneralChartData
isFormulaParsingError
in interface FormulaContent
public void destroy()
LinkedModelObject
destroy
in interface LinkedModelObject
public void checkOrphan()
checkOrphan
in interface LinkedModelObject
public void copyFrom(GeneralChartDataImpl src)
public FormulaExpression getCategoriesFormulaExpression()
getCategoriesFormulaExpression
in class AbstractGeneralChartDataAdv
public void setCategoriesFormula(FormulaExpression fexpr)
setCategoriesFormula
in class AbstractGeneralChartDataAdv
fexpr
- public boolean isCategoryHidden(int index)
isCategoryHidden
in interface SGeneralChartData
Copyright © 2020. All rights reserved.