Class ChartDataEvent

java.lang.Object
org.zkoss.zul.event.ChartDataEvent
Direct Known Subclasses:
DialChartDataEvent

public class ChartDataEvent extends Object
Defines an event that encapsulates changes to a chart's data model.
Author:
henrichen
  • Field Details

    • CHANGED

      public static final int CHANGED
      Identifies one or more changes in the lists contents.
      See Also:
    • ADDED

      public static final int ADDED
      Identifies the addition of one or more contiguous items to the list.
      See Also:
    • REMOVED

      public static final int REMOVED
      Identifies the removal of one or more contiguous items from the list.
      See Also:
  • Constructor Details

  • Method Details

    • getSeriesIndex

      public int getSeriesIndex()
      Returns the series index, if any.
      Since:
      7.0.1
    • getCategoryIndex

      public int getCategoryIndex()
      Returns the category index, if any.
      Since:
      7.0.1
    • getCategory

      public Comparable getCategory()
      Returns the category of the chart data model.
      Since:
      7.0.1
    • getModel

      public ChartModel getModel()
      Returns the chart model that fires this event.
    • getType

      public int getType()
      Returns the event type: CHANGED, ADDED, REMOVED.
    • getSeries

      public Comparable getSeries()
      Returns the series of the chart data model.
    • getData

      public Object getData()
      Returns customer data. Depends on the implementation.