echarts icon indicating copy to clipboard operation
echarts copied to clipboard

Polar的axisLable显示的时候,点击legend会uncaught error

Open ahunigel opened this issue 12 years ago • 4 comments

echarts v2.02 Polar的axisLabel : {show: true}并且indicator 没有设置max属性时,点击legend会uncaught error。

相关代码如下: polar : [ {
axisLabel : { show : true }, indicator : [ { text: '销售(sales)'}, { text: '管理(Administration)'}, { text: '信息技术(Information Techology)'}, { text: '客服(Customer Support)'}, { text: '研发(Development)'}, { text: '市场(Marketing)'}
] } ],

具体错误如下: Uncaught TypeError: Cannot read property 'max' of undefined echarts.js:30 l._addAxisLabel echarts.js:30 l._buildShape echarts.js:30 l.refresh echarts.js:30 l.refresh echarts.js:30 l._onrefresh echarts.js:30 l.__onevent echarts.js:30 _onevent echarts.js:30 i.dispatchWithContext echarts.js:30 _messageCenter.dispatch echarts.js:30 l._onlegendSelected echarts.js:30 l.__onevent echarts.js:30 _onevent echarts.js:30 i.dispatchWithContext echarts.js:30 _messageCenter.dispatch echarts.js:30 l.__legendSelected echarts.js:30 o._legendSelected echarts.js:30 l._dispatchAgency echarts.js:30 u.click echarts.js:30 (anonymous function) echarts.js:30

ahunigel avatar Aug 20 '14 05:08 ahunigel

@wind108369

kener avatar Aug 20 '14 06:08 kener

done

wind108369 avatar Aug 20 '14 07:08 wind108369

什么时候有新版本?

ahunigel avatar Aug 26 '14 14:08 ahunigel

此问题的代码已上传,新版本发布时间 @kener

wind108369 avatar Aug 28 '14 02:08 wind108369