Class ChartsSelectionEvent

  • All Implemented Interfaces:
    Serializable

    public class ChartsSelectionEvent
    extends org.zkoss.zk.ui.event.Event
    A selection event used for Charts component to provide an extra information on the selection spot can be found through event.getXAxis() and event.getYAxis(), which are numbers containing each axis' value at the selected spot.
    Author:
    RaymondChao
    See Also:
    Serialized Form
    • Constructor Detail

      • ChartsSelectionEvent

        public ChartsSelectionEvent​(String name,
                                    org.zkoss.zk.ui.Component target,
                                    Number xAxisMin,
                                    Number xAxisMax,
                                    Number yAxisMin,
                                    Number yAxisMax)
    • Method Detail

      • getChartsSelectionEvent

        public static ChartsSelectionEvent getChartsSelectionEvent​(org.zkoss.zk.au.AuRequest request)
      • getXAxisMin

        public Number getXAxisMin()
        Returns the xAxis minimum value of the selection.
      • getXAxisMax

        public Number getXAxisMax()
        Returns the xAxis maximum value of the selection.
      • getYAxisMin

        public Number getYAxisMin()
        Returns the yAxis minimum value of the selection.
      • getYAxisMax

        public Number getYAxisMax()
        Returns the yAxis maximum value of the selection.