From a061201a1cd158f63b6c4794ee4d2ebe1af63119 Mon Sep 17 00:00:00 2001 From: duanliang Date: Thu, 26 Dec 2024 15:59:10 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/testing/components/box-5.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/testing/components/box-5.vue b/src/views/testing/components/box-5.vue index 9928329..b1bdf77 100644 --- a/src/views/testing/components/box-5.vue +++ b/src/views/testing/components/box-5.vue @@ -106,8 +106,6 @@ top:0, width:fitChartSize(250), height:fitChartSize(250), - // width:200, - // height:200, radius: ['40%', '50%'], avoidLabelOverlap: false, padAngle: 5, @@ -143,7 +141,9 @@ ], }); const optionLine = ref({ + backgroundColor:'transparent', + grid:{ top:'50', bottom:'50', @@ -246,6 +246,10 @@ bottom: 20, itemWidth:5, itemHeight:5, + textStyle:{ + fontSize:fitChartSize(12), + } + }, grid: { left: '3%', @@ -287,7 +291,6 @@ min:0, max:45, interval:15, - axisLabel: { fontSize: fitChartSize(12) ,// 设置Y轴刻度字体大小 color: 'rgba(255,255,255,0.9)', @@ -304,7 +307,6 @@ } ], series: [ - { itemStyle: { // 设置柱状图颜色