Chart Events"

From Documentation
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.
 +
|-
 +
||onPlotLegendItemClick
 +
||Not applicable to pies, as the legend item is per point.
 
|-
 
|-
 
||onPlotShow
 
||onPlotShow
Line 24: Line 27:
 
||Fires when the series is hidden after chart generation time, by clicking the legend item.
 
||Fires when the series is hidden after chart generation time, by clicking the legend item.
 
|-
 
|-
||onPlotLegendItemClick
+
||onPlotMouseOver
||Not applicable to pies, as the legend item is per point.
+
||Fires when the mouse enters the graph.
 
|-
 
|-
 
||onPlotMouseOut
 
||onPlotMouseOut
 
||Fires when the mouse leaves the graph.
 
||Fires when the mouse leaves the graph.
 
|-
 
|-
||onPlotMouseOver
+
||onPlotDrillUp
||Fires when the mouse enters the graph.
+
||Fires when drilling up from a drilldown series.
 
|-
 
|-
 
||onPlotDrillDown
 
||onPlotDrillDown
 
||Fires when a drilldown point is clicked, before the new series is added.
 
||Fires when a drilldown point is clicked, before the new series is added.
|-
 
||onPlotDrillUp
 
||Fires when drilling up from a drilldown series.
 
 
|}
 
|}
  
 
{{ZKChartsEssentialsPageFooter}}
 
{{ZKChartsEssentialsPageFooter}}

Revision as of 09:37, 5 March 2014

WarningTriangle-32x32.png This page is under construction, so we cannot guarantee the accuracy of the content!

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.
onPlotLegendItemClick Not applicable to pies, as the legend item is per point.
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.
onPlotMouseOver Fires when the mouse enters the graph.
onPlotMouseOut Fires when the mouse leaves the graph.
onPlotDrillUp Fires when drilling up from a drilldown series.
onPlotDrillDown Fires when a drilldown point is clicked, before the new series is added.

< Get Complete Source Code of This Book >


Last Update : 2014/03/05

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.