From bb7f2e3ecbd47edfde477d742990bcbad3d601e1 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期一, 04 十二月 2023 11:43:41 +0800 Subject: [PATCH] 接口联调及人员饼图模块样式优化 --- src/views/cockpitPage/components/MachineStartupRate.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/views/cockpitPage/components/MachineStartupRate.vue b/src/views/cockpitPage/components/MachineStartupRate.vue index 5e66228..051f94d 100644 --- a/src/views/cockpitPage/components/MachineStartupRate.vue +++ b/src/views/cockpitPage/components/MachineStartupRate.vue @@ -71,6 +71,7 @@ label: { color: "#01f7fd", fontSize: 14, + padding: [0, -60], formatter: function (params) { return `{a|${params.name}} {b|${params.value + "%"}}`; }, @@ -94,8 +95,13 @@ }, labelLine: { show: true, - length: 50, + length: 40, color: "blue", + length2: 70, + }, + labelLayout: { + verticalAlign: "bottom", + dy: -5, }, data: data, }, -- Gitblit v1.8.0