From 90347ba87adf2ed2b2c78b566874fd29b9c6ccf2 Mon Sep 17 00:00:00 2001 From: lixuefeng <1126141216@qq.com> Date: Tue, 12 Aug 2025 14:37:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B1=BB=E5=9E=8B=EF=BC=9A=E5=BC=80=E5=8F=91?= =?UTF-8?q?=20=E6=8F=8F=E8=BF=B0=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/monitor/components/traffic-jam.vue | 5 +++-- src/views/scenic/components/box-1.vue | 17 ++++++++++++++--- src/views/workOrder/components/box-3.vue | 8 ++++---- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/src/views/monitor/components/traffic-jam.vue b/src/views/monitor/components/traffic-jam.vue index a6ae71c..b22d916 100644 --- a/src/views/monitor/components/traffic-jam.vue +++ b/src/views/monitor/components/traffic-jam.vue @@ -72,11 +72,12 @@ show: true, // 显示dataZoom组件 xAxisIndex: [0], // 控制第一个x轴 start: 0, // 初始起始位置 - end: 50 // 初始结束位置,可以根据数据量调整 + end: 60 // 初始结束位置,可以根据数据量调整 } ], yAxis: { type: 'value', + offset: 15, axisLabel: { show: true, fontSize: fitChartSize(12), @@ -94,7 +95,7 @@ { type: 'bar', data: getSeriesData(), - barWidth: fitChartSize(40), + barWidth: fitChartSize(20), label: { show: true, position: 'top', diff --git a/src/views/scenic/components/box-1.vue b/src/views/scenic/components/box-1.vue index 6347820..9cf341f 100644 --- a/src/views/scenic/components/box-1.vue +++ b/src/views/scenic/components/box-1.vue @@ -107,12 +107,25 @@