diff --git a/src/views/InPlantProducts/content/chart/installtable.vue b/src/views/InPlantProducts/content/chart/installtable.vue index 49f5f96..ebade98 100644 --- a/src/views/InPlantProducts/content/chart/installtable.vue +++ b/src/views/InPlantProducts/content/chart/installtable.vue @@ -44,6 +44,7 @@ const setData = (value: any, type: number) => { color: "#fff", fontSize: 20, }, + top:'3%' }, series: [ { diff --git a/src/views/Mechanics/content/chart/equipment.vue b/src/views/Mechanics/content/chart/equipment.vue index 12dd9c4..86b8acf 100644 --- a/src/views/Mechanics/content/chart/equipment.vue +++ b/src/views/Mechanics/content/chart/equipment.vue @@ -48,6 +48,7 @@ const setData = (value: any, type: number) => { color: "#fff", fontSize: 20, }, + top:'2%' }, // color: ['#4992FF', '#7CFFB2', '#FDDD60', '#FF6E76'], tooltip: { diff --git a/src/views/Offsite/content/chart/equipment.vue b/src/views/Offsite/content/chart/equipment.vue index 4e13dd1..6547081 100644 --- a/src/views/Offsite/content/chart/equipment.vue +++ b/src/views/Offsite/content/chart/equipment.vue @@ -38,7 +38,8 @@ const setData = (value: any) => { textStyle: { color: '#fff', fontSize: 20 - } + }, + top:'2%' }, tooltip: { trigger: 'item' diff --git a/src/views/Offsite/content/chart/offsitegateway.vue b/src/views/Offsite/content/chart/offsitegateway.vue index 33852d7..83d1560 100644 --- a/src/views/Offsite/content/chart/offsitegateway.vue +++ b/src/views/Offsite/content/chart/offsitegateway.vue @@ -147,6 +147,7 @@ p { display: flex; justify-content: center; align-items: center; + margin-top: 5px; } .colorTip span { margin-right: 1rem; @@ -168,6 +169,7 @@ p { border-radius: 1rem; width: 1rem; height: 1rem; + } .titlesize-name{ font-size: 1.5rem; diff --git a/src/views/PaintShopView/View1/chart/pm.vue b/src/views/PaintShopView/View1/chart/pm.vue index 36f1556..07ee860 100644 --- a/src/views/PaintShopView/View1/chart/pm.vue +++ b/src/views/PaintShopView/View1/chart/pm.vue @@ -47,6 +47,7 @@ const setData = (value: any) => { color: "#fff", fontSize: 20, }, + top:'10px' }, grid: { // 让图表占满容器 diff --git a/src/views/PaintShopView/View1/chart/verticalNum.vue b/src/views/PaintShopView/View1/chart/verticalNum.vue index 6f1d1e4..1381d12 100644 --- a/src/views/PaintShopView/View1/chart/verticalNum.vue +++ b/src/views/PaintShopView/View1/chart/verticalNum.vue @@ -1,5 +1,5 @@