diff --git a/front/src/views/abilityStatistics/components/ResourceAggregation.vue b/front/src/views/abilityStatistics/components/ResourceAggregation.vue index 0238d994..c81190be 100644 --- a/front/src/views/abilityStatistics/components/ResourceAggregation.vue +++ b/front/src/views/abilityStatistics/components/ResourceAggregation.vue @@ -342,6 +342,7 @@ } }) console.log('============》', dataList) + dataList = dataList.reverse() echarts.init(document.getElementById('right')).dispose() let chartDom = document.getElementById('right') let myChart = echarts.init(chartDom) @@ -459,6 +460,7 @@ { name: '', type: 'bar', + barWidth: 35, barGap: '-100%', itemStyle: { normal: { @@ -471,6 +473,7 @@ { name: '', type: 'bar', + barWidth: 35, barGap: '-100%', itemStyle: { normal: { @@ -483,6 +486,7 @@ { name: '', type: 'bar', + barWidth: 35, barGap: '-100%', itemStyle: { normal: { @@ -495,6 +499,7 @@ { name: '', type: 'bar', + barWidth: 35, barGap: '-100%', itemStyle: { normal: { @@ -507,6 +512,7 @@ { name: '', type: 'bar', + barWidth: 35, barGap: '-100%', itemStyle: { normal: { @@ -519,6 +525,7 @@ { name: '', type: 'bar', + barWidth: 35, barGap: '-100%', itemStyle: { normal: {