Polar的axisLable显示的时候,点击legend会uncaught error
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
@wind108369
done
什么时候有新版本?
此问题的代码已上传,新版本发布时间 @kener