Class ChartsClickEvent

  • All Implemented Interfaces:
    Serializable

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

      • ChartsClickEvent

        public ChartsClickEvent​(String name,
                                org.zkoss.zk.ui.Component target,
                                String area,
                                int keys)
      • ChartsClickEvent

        public ChartsClickEvent​(String name,
                                org.zkoss.zk.ui.Component target,
                                int x,
                                int y,
                                int pageX,
                                int pageY,
                                int keys,
                                Number xAxis,
                                Number yAxis)
    • Method Detail

      • getChartsClickEvent

        public static ChartsClickEvent getChartsClickEvent​(org.zkoss.zk.au.AuRequest request)
      • getXAxis

        public Number getXAxis()
        Returns the xAxis value.
      • getYAxis

        public Number getYAxis()
        Returns the yAxis value.