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 SChartDatapublic int getNumOfSeries()
getNumOfSeries in interface SGeneralChartDatapublic SSeries getSeries(int i)
getSeries in interface SGeneralChartDatapublic int getNumOfCategory()
getNumOfCategory in interface SGeneralChartDatapublic Object getCategory(int i)
getCategory in interface SGeneralChartDatapublic SSeries addSeries()
addSeries in interface SGeneralChartDataprotected void checkOwnership(SSeries series)
public void removeSeries(SSeries series)
removeSeries in interface SGeneralChartDatapublic void setCategoriesFormula(String expr)
setCategoriesFormula in interface SGeneralChartDatapublic String getCategoriesFormula()
getCategoriesFormula in interface SGeneralChartDatapublic void clearFormulaResultCache()
FormulaContentclearFormulaResultCache in interface FormulaContentpublic boolean isFormulaParsingError()
SGeneralChartDataisFormulaParsingError in interface SGeneralChartDataisFormulaParsingError in interface FormulaContentpublic void destroy()
LinkedModelObjectdestroy in interface LinkedModelObjectpublic void checkOrphan()
checkOrphan in interface LinkedModelObjectpublic void copyFrom(GeneralChartDataImpl src)
public FormulaExpression getCategoriesFormulaExpression()
getCategoriesFormulaExpression in class AbstractGeneralChartDataAdvpublic void setCategoriesFormula(FormulaExpression fexpr)
setCategoriesFormula in class AbstractGeneralChartDataAdvfexpr - public boolean isCategoryHidden(int index)
isCategoryHidden in interface SGeneralChartDataCopyright © 2020. All rights reserved.