KoolChart - Excellent PHP Chart and GraphKoolChart - Excellent PHP Chart and GraphFullVersion 2.6.0.2 released on 25/11/2016

ClientSidesAPI - ClientSide Events

* Note:Generate your own chart with Code Generator

Description & Sample code

To add client-side event, you do:


At server-side:

	$chart->ClientEvents["OnItemOver"] = "Handle_OnItemOver";

Ar client-side:

	function Handle_OnItemOver(sender, args)
	{
		alert(1);
		//args["Item"]["YValue"]: value of item
		//args["Category"]["Text"]: text of category
		//args["SeriesItems]: array of all items.
	}