echart柱状图堆列实现百分比显示
let xAxisValue1 = [63, 89, 44, 34, 3, 98];
let xAxisValue2 = [23, 89, 44, 34, 3, 98];
option = {
legend: {
data: [‘退出项目’, ‘未退出项目’],
bottom: 0
},
title: {
text: ‘已退出项目占比’,
x: ‘center’,
textAlign: ‘center’
},
toolbox: {},
color: [‘rgb(116,142,222)’, ‘#AD6D6.
原创
2021-12-17 11:22:29 ·
592 阅读 ·
0 评论