var myChart = this.$echarts.init(document.getElementById('myChart'))
let data = [
{
value: 57,
name: '半年分配',
itemStyle: {
normal: {
color: '#087EE0',
label: {
show: true,
formatter: '{c}%',
textStyle: {color: '#fff'}
}
}
}
},
{
value: 14,
name: '按月分配',
itemStyle: {
normal: {
color: '#79ADF9',
label: {
show: true,
formatter: '{c}%',
textStyle: {color: '#fff'}
}
}
}
},
{
value: 29,
name: '到期分配',
itemStyle: {
normal: {
color: '#C4D5FF',
label: {
echarts实现半圆饼图
最新推荐文章于 2024-01-31 13:25:06 发布