在series里添加如下代码:
模板变量有 {a}
, {b}
,{c}
, {d}
,分别表示系列名,数据名,数据值,百分比。
itemStyle:{
normal:{
label:{
show: true,
formatter: '{b} : {c} ({d}%)'
},
labelLine :{show:true}
}
}
baidu报表echarts使用
猜你喜欢
转载自lanrikey.iteye.com/blog/2273840
今日推荐
周排行