Package org.zkoss.chart.model
Interface ChartsModel
-
- All Known Subinterfaces:
BoxPlotModel,CategoryModel,DialModel,FromToModel,FromToWeightModel,LowHighModel,LowModel,PieModel,SingleValueCategoryModel,WordCloudModel,XYModel,XYZModel
- All Known Implementing Classes:
AbstractChartsModel,ChartsModelProxy,DefaultBoxPlotModel,DefaultCategoryModel,DefaultDialModel,DefaultFromToModel,DefaultFromToWeightModel,DefaultLowHighModel,DefaultLowModel,DefaultPieModel,DefaultSingleValueCategoryModel,DefaultWordCloudModel,DefaultXYModel,DefaultXYZModel
public interface ChartsModelCharts Model is used to hold the data model for the charts component.PieModel: one series of data objects. Each data object contains the category name and numeric value of a pie.CategoryModel: n series of data objects. Each data object contains the category name and associated numeric value .XYModel: n series of data objects. Each data object contains an (x,y) pair.XYZModel: n series of data objects. Each data object contains an (x,y,z) pair; since 3.5.0
Chartsuse to get the value of data.- Author:
- jumperchen
- See Also:
Charts,PieModel,SingleValueCategoryModel,CategoryModel,XYModel,XYZModel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddChartsDataListener(ChartsDataListener l)Adds a listener to the chart that's notified each time a change to the data model occurs.voidremoveChartsDataListener(ChartsDataListener l)Removes a listener from the chart that's notified each time a change to the data model occurs.
-
-
-
Method Detail
-
addChartsDataListener
void addChartsDataListener(ChartsDataListener l)
Adds a listener to the chart that's notified each time a change to the data model occurs.
-
removeChartsDataListener
void removeChartsDataListener(ChartsDataListener l)
Removes a listener from the chart that's notified each time a change to the data model occurs.
-
-