echarts icon indicating copy to clipboard operation
echarts copied to clipboard

echarts的几个线性图、饼图绘制问题

Open greenHandpo opened this issue 11 years ago • 1 comments

1、如何取消线形图中的网格线,只留markline,也就是只要横向的线,不要竖向的线 2、如何绘制一个中间圆中的字固定不会变动的环形图 3、饼图中只有tooltip里的的formatter可以使用“
”,series里的itemStyle的formatter无法使用"
",也就是说,每一个扇形区域的名称若太长无法分两行写

greenHandpo avatar Feb 10 '15 01:02 greenHandpo

http://echarts.baidu.com/doc/asset/img/doc/axisDetail.png http://echarts.baidu.com/doc/doc.html#Xaxis

http://echarts.baidu.com/doc/example/pie2.html itemStyle : { normal : { label : { show : true, position : 'center' }, labelLine : { show : false } }, emphasis : { label : { show : true, position : 'center', textStyle : { fontSize : '30' }, formatter: function (v) {return v.name.split('').join('\n');} } } }

tooltip 换行用 '<br />' itemStyle 换行用 '\n'

i6ma avatar Feb 10 '15 03:02 i6ma