Chart Events"
From Documentation
Raymondchao (talk | contribs) |
Raymondchao (talk | contribs) |
||
Line 17: | Line 17: | ||
||onPlotCheckboxClick | ||onPlotCheckboxClick | ||
||Fires when the checkbox next to the series' name in the legend is clicked. | ||Fires when the checkbox next to the series' name in the legend is clicked. | ||
+ | |- | ||
+ | ||onPlotShow | ||
+ | ||Fires when the series is shown after chart generation time, by clicking the legend item. | ||
|- | |- | ||
||onPlotHide | ||onPlotHide | ||
Line 29: | Line 32: | ||
||onPlotMouseOver | ||onPlotMouseOver | ||
||Fires when the mouse enters the graph. | ||Fires when the mouse enters the graph. | ||
− | |||
− | |||
− | |||
|- | |- | ||
||onPlotDrillDown | ||onPlotDrillDown |
Revision as of 09:37, 5 March 2014
ZK Chart will fire events when user is interacting with chart, so we can declare a method to listen the event and handle the event data. There are two
Chart Event
Series Event
EventName | Description |
---|---|
onPlotClick | Fires when the series is clicked. |
onPlotCheckboxClick | Fires when the checkbox next to the series' name in the legend is clicked. |
onPlotShow | Fires when the series is shown after chart generation time, by clicking the legend item. |
onPlotHide | Fires when the series is hidden after chart generation time, by clicking the legend item. |
onPlotLegendItemClick | Not applicable to pies, as the legend item is per point. |
onPlotMouseOut | Fires when the mouse leaves the graph. |
onPlotMouseOver | Fires when the mouse enters the graph. |
onPlotDrillDown | Fires when a drilldown point is clicked, before the new series is added. |
onPlotDrillUp | Fires when drilling up from a drilldown series. |
< Get Complete Source Code of This Book >