This commit is contained in:
kongduo
2026-06-12 17:07:17 +08:00
parent 9502d4623a
commit d2ab388cd6
2 changed files with 181 additions and 68 deletions

View File

@@ -147,7 +147,7 @@ export const getDeviceStatOption = (deviceTypes) => {
series: [
{
type: 'pie',
radius: ['45%', '70%'],
radius: ['42%', '68%'],
center: ['50%', '50%'],
avoidLabelOverlap: false,
itemStyle: pieItemStyle,
@@ -155,7 +155,7 @@ export const getDeviceStatOption = (deviceTypes) => {
show: true,
position: 'center',
formatter: `{total|${total}}\n{name|设备总数}`,
rich: createCenterLabelRich(18, 12)
rich: createCenterLabelRich(16, 10)
},
labelLine: {
show: false