OnItemClickTop
OnItemClick
Occur when a chart column/bar/pie/dot is clicked.
Show/Hide Code
<?php
...
$chart->ClientEvents["OnItemClick"] = "Handle_OnItemClick";
...
?>
...
<script type="text/javascript">
function Handle_OnItemClick(sender,args)
{
//args["Item"]["YValue"]: value of item
//args["Category"]["Text"]: text of category
//args["SeriesItems]: array of all items.
}
</script>
Supported from version: 1.0.0.0
OnItemDblClickTop
OnItemDblClick
Occur when a chart column/bar/pie/dot is double clicked.
Show/Hide Code
<?php
...
$chart->ClientEvents["OnItemDblClick"] = "Handle_OnItemDblClick";
...
?>
...
<script type="text/javascript">
function Handle_OnItemDblClick(sender,args)
{
//args["Item"]["YValue"]: value of item
//args["Category"]["Text"]: text of category
//args["SeriesItems]: array of all items.
}
</script>
Supported from version: 1.0.0.0
OnItemOverTop
OnItemOver
Occur when mouse is over a chart column/bar/pie/dot.
Show/Hide Code
<?php
...
$chart->ClientEvents["OnItemOver"] = "Handle_OnItemOver";
...
?>
...
<script type="text/javascript">
function Handle_OnItemOver(sender,args)
{
//args["Item"]["YValue"]: value of item
//args["Category"]["Text"]: text of category
//args["SeriesItems]: array of all items.
}
</script>
Supported from version: 1.0.0.0