Jasur Report post Posted November 2, 2012 Hello FusionChart team. I have situation where I need to listen mouse events from data items on the chart (e.i bar, column) without passing javascript code as string to link attributes of xml data. Is there option which allow me to pass callback reference to events. To make it more clear I am giving u example : myChart.addEventListener('mouseclick', callbackFn); callbackFn(){alert("dataItem clicked");}; Thanks Share this post Link to post Share on other sites
Guest Bindhu Report post Posted November 3, 2012 Hi, A warm welcome to the FusionCharts Forum Such events are not supported by data plots as of now. However it is supported by legends in multiseries charts. To track the legend click event, FusionCharts XT Service Release 4 has introduced advanced event known as "LegendItemClicked". Note: This is currently not documented but would work for both Flash and JavaScript. Ref. Code: function myChartListener(eventObject, argumentsObject) { alert( "Legend clicked" ); } FusionCharts("ChartId").addEventListener ("LegendItemClicked" , myChartListener ); Hope this helps! Share this post Link to post Share on other sites