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

radar.triggerEvent无效 #3934

Closed
yoyo007007007 opened this issue Aug 25, 2016 · 2 comments
Closed

radar.triggerEvent无效 #3934

yoyo007007007 opened this issue Aug 25, 2016 · 2 comments

Comments

@yoyo007007007
Copy link

yoyo007007007 commented Aug 25, 2016

问题简述 (One-line summary)

radar.triggerEvent没有作用。

版本及环境 (Version & Environment)

  • ECharts 版本 (ECharts version):3.2.2
  • 浏览器类型和版本 (Browser version):chrome 5
  • 操作系统类型和版本 (OS Version):win7 64

重现步骤 (Steps to reproduce)

1.xAxis.triggerEvent有作用
2.radar.triggerEvent 点击radar.name 或者 indicator.name没有作用

期望结果 (Expected behaviour)

期望能点击并且获得indicator 的值(雷达维度)

可能哪里有问题 (What went wrong)

ECharts配置项 (ECharts option)

option = {

tooltip : {
trigger: 'item'
},
legend: {
orient:'vertical',

                        x : 'right',
                        data:['CN101886586B','CN2668873V']
                    },
                    radar :{


                            triggerEvent:true,
                            name: {
                                show:true,
                                textStyle:{color:'#333'}

                            },
                           indicator : [
                               { text: '专利保护范围', max: 100},
                               { text: '专利保护强度', max: 100},
                               { text: '专利技术质量', max: 100}
                           ],
                           center : ['50%','70%'],
                           radius:'95%'

                       },
                    calculable : true,
                    series : [
                        {
                            name: 'CN101886586B vs CN2668873V',
                            type: 'radar',
                            data : [
                                {
                                    value : [30, 40, 50],
                                    itemStyle: {normal: {color:'rgba(193,35,43,1)'}},

                                    name : 'CN101886586B',


                                },
                                 {
                                    value : [20, 50, 40],
                                     itemStyle: {normal: {color:'rgba(181,195,52,1)'}},

                                     name : 'CN2668873V'
                                }
                            ]
                        }
                    ]
                };

            myChart.setOption(option);

}



#### 其他信息 (Other comments)
<!-- 例如,截图或线上实例 (JSFiddle/JSBin/Codepen) (For example: Screenshot or Online demo) -->

@yoyo007007007
Copy link
Author

大哥,我咨询您一个问题:如果我想实现一个可交互的 “产业链” 控件,有比较好的控件推荐吗。

在 2016年10月25日,14:39,sushuang notifications@github.com 写道:

Closed #3934 #3934 via 1ff7c9b 1ff7c9b.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #3934 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AJotjzXiVJLpttxLSVF2L7ElYlfkHvg4ks5q3aQrgaJpZM4Js4Nr.

@songkai2012
Copy link

确实无效,今天看了别人做出来的可能是用了echarts2.0吧

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

No branches or pull requests

3 participants