style:首页-设备分类统计图表label属性添加value显示

main
黄伟杰 1 month ago
parent baa490793b
commit 862bf73668

@ -424,13 +424,14 @@ const deviceRepairLineOptions = ref<EChartsOption>({
}
]
})
const deviceCategoryPieOptionsData = ref<EChartsOption>(
{title: {
const deviceCategoryPieOptionsData = ref<EChartsOption>({
title: {
text: '设备分类统计',
left: 'center'
},
tooltip: {
trigger: 'item'
trigger: 'item',
formatter: '{b}{c}'
},
legend: {
orient: 'vertical',
@ -442,10 +443,13 @@ const deviceCategoryPieOptionsData = ref<EChartsOption>(
type: 'pie',
radius: '55%',
center: ['50%', '60%'],
label: {
show: true,
formatter: '{b}{c}'
}
]
}
)
]
})
const moldTypeBarOptionsData = ref<EChartsOption>({
title: {

Loading…
Cancel
Save