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 @@