FusionCharts JavaScript API - Events 全局事件处理
FusionCharts JavaScript API - Events 全局事件处理
Home > FusionCharts XT and JavaScript > API Reference > Events 官方文档有详细说明
注册全局事件
addEventListener(event:string, listener: function);
FusionCharts.addEventListener("Rendered",function(e,p){ alert(e.sender.id );});
Home > FusionCharts XT and JavaScript > Listening to events
注册图表事件
FusionCharts("myChartId").addEventListener("DrawComplete", myChartListener);