From c8fb10d359ba5ae3cbd2fb32291a1137512429f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Wed, 13 Jul 2022 09:44:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E8=AF=B7?= =?UTF-8?q?=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/templates/broad/box.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/broad/box.html b/ruoyi-admin/src/main/resources/templates/broad/box.html index 73320fd..3b30b45 100644 --- a/ruoyi-admin/src/main/resources/templates/broad/box.html +++ b/ruoyi-admin/src/main/resources/templates/broad/box.html @@ -419,12 +419,12 @@ autoUpdate('/broad/box/selectOutputByType', INTERVAL, data => { statByType.setOption({ xAxis: { - data: data['xAxisInfo'].map(value => value), + data: data.map(value => value.name), }, series: [ { name: '数量', - data: data['seriesInfo'], + data: data.map(value => value.qty), }, // { // name: '数量_', @@ -505,7 +505,8 @@ { type: 'category', axisTick: { - alignWithLabel: true + alignWithLabel: true, + interval:0, }, axisLabel: { color: '#ffffff',