Closed succulen-plants closed 1 year ago
Hi! We've received your issue and please be patient to get responded. 🎉 The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.
If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
If you are interested in the project, you may also subscribe our mail list.
Have a nice day! 🍵
而且, click 事件也获取不到, chart.on('click', function (params) { }); 只是使用mapbox 提供了地图, 不理解为什么点击页面没有echarts 的点击事件
是否用了第三方扩展插件?
没有使用, 您可以使用官网提供的例子试一下 比如: https://gallery.echartsjs.com/editor.html?c=xrJygEHHYb 还有问题是, 下面这种写法完全监听不到鼠标和键盘事件, 之前旧版本 mapbox可以, 换成mapbox3D的版本就监听不到
const map = chart.getModel().getComponent('mapbox3D').getMapbox();
map.on('load',()=>{
map.getCanvas().addEnventListener('click', e=>{
})
})
并且 和mapbox 结合后, 获取不到echarts 的 click事件
myChart.on('click', ()=>{
alert('124')
})
same question about the click event.
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
Version
4.9.0
Steps to reproduce
VM8041 echarts-gl.min.js:1 Uncaught TypeError: Cannot read property '0' of undefined
What is expected?
加载的3D建筑上面有标签显示
What is actually happening?
报错