org.zkoss.zul
Interface ChartModel

All Known Subinterfaces:
CategoryModel, HiLoModel, PieModel, XYModel
All Known Implementing Classes:
AbstractChartModel, SimpleCategoryModel, SimpleHiLoModel, SimplePieModel, SimpleXYModel

public interface ChartModel

Chart Model is used to hold the data model for the chart.

This interface defines the data model for components like Chart use to get the value of data.

Author:
henrichen
See Also:
Chart, PieModel, CategoryModel, XYModel, ChartAreaListener

Method Summary
 void addChartDataListener(ChartDataListener l)
          Adds a listener to the chart that's notified each time a change to the data model occurs.
 void removeChartDataListener(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.



Copyright © 2005-2007 Potix Corporation. All Rights Reserved.