legend: {
show: true,
type: 'scroll',
orient: "vertical",
top: "35%",
left: "10%",
itemGap: 18,
itemWidth: 10,
itemHeight: 10,
formatter: function(name) {
return (
"{a|" +
name +
"}{b|" +
"99"+
"个}"
);
},
textStyle: {
color: 'auto',
rich: {
a: {
align: "center",
fontSize: 15,
width: 100,
padding: [0, 0, 0, 10],
},
b: {
align: "center",
fontSize: 15,
width: 10,
padding: [0, 0, 0, 30],
},
},
},
},
echarts环形图饼图 图例颜色和内容一致,及图例参数等宽
最新推荐文章于 2024-05-18 11:06:13 发布