From cfb38defe43a3c3e4d42a95e0128e08a7908490f Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Thu, 29 May 2025 17:07:33 +0800
Subject: [PATCH] feat:图表适配,修改任务管理图表的大小
---
src/views/wel/components/flyratio.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/wel/components/flyratio.vue b/src/views/wel/components/flyratio.vue
index f87d72e..e9ec125 100644
--- a/src/views/wel/components/flyratio.vue
+++ b/src/views/wel/components/flyratio.vue
@@ -88,7 +88,7 @@
top: 'center',
textStyle: {
color: '#999',
- fontSize: 16,
+ fontSize: '1.6rem',
fontWeight: 'normal'
}
},
@@ -106,13 +106,13 @@
xAxis: {
type: 'value',
splitLine: { lineStyle: { color: '#E5E5E5' } },
- axisLabel: { color: '#7C8091' },
+ axisLabel: { color: '#7C8091',fontSize:'1.2rem' },
boundaryGap: [0, 0.01],
},
yAxis: {
type: 'category',
data: optionData.yAxisData,
- axisLabel: { color: '#7C8091' },
+ axisLabel: { color: '#7C8091' ,fontSize:'1.2rem'},
axisLine: { lineStyle: { color: '#D1D1D1' } },
axisTick: { show: false },
// 确保排序后的数据从上到下显示(最大值在顶部)
--
Gitblit v1.9.3