Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

angleAxis.triggerEvent =true无效 #9765

Closed
6 tasks
fuyongxia opened this issue Jan 16, 2019 · 7 comments · Fixed by OpenTMI/opentmi-default-gui#32 or DeviaVir/zenbot#2011 · May be fixed by dyna-dot/iClient-JavaScript-s#1
Closed
6 tasks

angleAxis.triggerEvent =true无效 #9765

fuyongxia opened this issue Jan 16, 2019 · 7 comments · Fixed by OpenTMI/opentmi-default-gui#32 or DeviaVir/zenbot#2011 · May be fixed by dyna-dot/iClient-JavaScript-s#1
Assignees
Labels

Comments

@fuyongxia
Copy link

fuyongxia commented Jan 16, 2019

General Questions

Issue Type

  • I have a question to ask about how to use ECharts to ...;我想提问如何使用 ECharts 实现某功能
  • [x ] I have a bug to report;我想要报 bug
  • I have a feature to request, e.g.: I'd like a new feature that ...;我需要一个新功能
  • I have a feature to enhance, e.g.: The current feature should be improved in the way that ...;我希望改进某个功能
  • There's something wrong with the documents;文档有些问题
  • Others, or I'm not sure which issue types to choose here;其他,或我不知道应该选什么类型

Issue Details

angleAxis.triggerEvent =true无效

Expected Behavior

angleAxis.triggerEvent =true无效 的问题在哪,是库本身就有问题吗

Current Behavior

Online Example

https://gallery.echartsjs.com/editor.html?c=xINzhTRaHL&v=1

app.title = '极坐标系下的堆叠柱状图';

option = {
angleAxis: {
type: 'category',
triggerEvent: true,
data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'],
z: 10
},
radiusAxis: {
// triggerEvent: true,

},
polar: {
    triggerEvent: true,

},
series: [{
    type: 'bar',
    data: [1, 2, 3, 4, 3, 5, 1],
    coordinateSystem: 'polar',
    name: 'A',
    stack: 'a'
}, {
    type: 'bar',
    data: [2, 4, 6, 1, 3, 2, 1],
    coordinateSystem: 'polar',
    name: 'B',
    stack: 'a'
}, {
    type: 'bar',
    data: [1, 2, 3, 4, 1, 2, 5],
    coordinateSystem: 'polar',
    name: 'C',
    stack: 'a'
}],
legend: {
    show: true,
    data: ['A', 'B', 'C']
}

};

Topics

Anything Else We Need to Know

Environment

  • ECharts version;ECharts 版本: {v4.2.0-rc.2}

  • It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{chrome}

@peter-wang-wsl
Copy link

peter-wang-wsl commented Apr 30, 2019

@100pah @deqingli the release after v4.2.1, may be v4.2.2 will make the below code OK? If so, how can I make it ok in v4.2.1?
myChart.on('click','angleAxis.category',function(){ alert(1) })

@fuyongxia
Copy link
Author

fuyongxia commented Apr 30, 2019 via email

@peter-wang-wsl
Copy link

@fuyongxia 请问我把github上的工程下载后,如何在本地dist目录生成基于master的echarts.js?

@fuyongxia
Copy link
Author

fuyongxia commented Apr 30, 2019 via email

@fuyongxia
Copy link
Author

fuyongxia commented Apr 30, 2019 via email

@fuyongxia
Copy link
Author

fuyongxia commented Apr 30, 2019 via email

@peter-wang-wsl
Copy link

我使用echarts master和zrender master重新编译了,但形如myChart.on('click','angleAxis.category',function(){ alert(1) }) 没有被触发,已提 #10382

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment