fix 优化

This commit is contained in:
duanliang
2024-12-26 15:59:10 +08:00
parent a24163b526
commit a061201a1c

View File

@@ -106,8 +106,6 @@
top:0, top:0,
width:fitChartSize(250), width:fitChartSize(250),
height:fitChartSize(250), height:fitChartSize(250),
// width:200,
// height:200,
radius: ['40%', '50%'], radius: ['40%', '50%'],
avoidLabelOverlap: false, avoidLabelOverlap: false,
padAngle: 5, padAngle: 5,
@@ -143,7 +141,9 @@
], ],
}); });
const optionLine = ref({ const optionLine = ref({
backgroundColor:'transparent', backgroundColor:'transparent',
grid:{ grid:{
top:'50', top:'50',
bottom:'50', bottom:'50',
@@ -246,6 +246,10 @@
bottom: 20, bottom: 20,
itemWidth:5, itemWidth:5,
itemHeight:5, itemHeight:5,
textStyle:{
fontSize:fitChartSize(12),
}
}, },
grid: { grid: {
left: '3%', left: '3%',
@@ -287,7 +291,6 @@
min:0, min:0,
max:45, max:45,
interval:15, interval:15,
axisLabel: { axisLabel: {
fontSize: fitChartSize(12) ,// 设置Y轴刻度字体大小 fontSize: fitChartSize(12) ,// 设置Y轴刻度字体大小
color: 'rgba(255,255,255,0.9)', color: 'rgba(255,255,255,0.9)',
@@ -304,7 +307,6 @@
} }
], ],
series: [ series: [
{ {
itemStyle: { itemStyle: {
// 设置柱状图颜色 // 设置柱状图颜色