| org.zkoss.zul.ChartModel
All known Subclasses: org.zkoss.zul.AbstractChartModel,
ChartModel | public interface ChartModel (Code) | | 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.
This interface defines the data model for components like
Chart use to get the value of data.
author: henrichen See Also: Chart See Also: PieModel See Also: CategoryModel See Also: XYModel See Also: org.zkoss.zul.event.ChartAreaListener |
addChartDataListener | public void addChartDataListener(ChartDataListener l)(Code) | | Adds a listener to the chart that's notified each time a change
to the data model occurs.
|
removeChartDataListener | public void removeChartDataListener(ChartDataListener l)(Code) | | Removes a listener from the chart that's notified each time
a change to the data model occurs.
|
|
|