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: { // 设置柱状图颜色