Package org.zkoss.zul
Interface ChartModel
-
- All Known Subinterfaces:
CategoryModel,HiLoModel,PieModel,SingleValueCategoryModel,XYModel,XYZModel
- All Known Implementing Classes:
AbstractChartModel,DialModel,GanttModel,SimpleCategoryModel,SimpleHiLoModel,SimplePieModel,SimpleSingleValueCategoryModel,SimpleXYModel,SimpleXYZModel,WaferMapModel
public interface ChartModelChart Model is used to hold the data model for the chart.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
Chartuse to get the value of data.- Author:
- henrichen
- See Also:
Chart,PieModel,CategoryModel,XYModel,XYZModel,ChartAreaListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddChartDataListener(ChartDataListener l)Adds a listener to the chart that's notified each time a change to the data model occurs.voidremoveChartDataListener(ChartDataListener l)Removes a listener from the chart that's notified each time a change to the data model occurs.
-
-
-
Method Detail
-
addChartDataListener
void addChartDataListener(ChartDataListener l)
Adds a listener to the chart that's notified each time a change to the data model occurs.
-
removeChartDataListener
void removeChartDataListener(ChartDataListener l)
Removes a listener from the chart that's notified each time a change to the data model occurs.
-
-