arashdalir opened a new issue #9341: events defined by `chart.on(eventName, ...` are not triggered URL: https://github.com/apache/incubator-echarts/issues/9341 ### defined events are not triggered (at least) `finished` and `rendered` events are not triggered/executed. ### Version & Environment + ECharts version v4.2.0-rc2 + Browser version chrome-70.0.3538.77 + OS Version windows 7 ### Expected behaviour the function defined should be triggered. in given example: having 'finished loading' in console ### ECharts option ```javascript var myChart = echarts.init(document.getElementById('chart1'), null, { "devicePixelRatio": null, "renderer": "canvas", "width": null, "height": "600px" }); myChart.setOption({ "title": { "text": "test", }, "grid": [ { "top": "5%", "height": "60%", "width": "60%", "left": "5%", "containLabel": false, "borderColor": "transparent", "show": "1" } ], "xAxis": [ { "type": "time", "min": "dataMin", "max": "dataMax" } ], "yAxis": [ { "type": "value", } ], "series": {"name": "insufficient_data", "type": "bar"}, }); myChart.on('finished', function (params){ console.log('finished loading'); }); ``` 
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
