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',