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 ChartModel
Chart 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
Chart
use to get the value of data.- Author:
- henrichen
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a listener to the chart that's notified each time a change to the data model occurs.voidRemoves a listener from the chart that's notified each time a change to the data model occurs.
-
Method Details
-
addChartDataListener
Adds a listener to the chart that's notified each time a change to the data model occurs. -
removeChartDataListener
Removes a listener from the chart that's notified each time a change to the data model occurs.
-