From 5c3e19b3e4fbc6c0500bd5bc85bfc9b025067275 Mon Sep 17 00:00:00 2001
From: 刘帅 <rr.iii@qq.com>
Date: 星期四, 03 九月 2026 11:36:16 +0800
Subject: [PATCH] 易仓修改:货品分析排序
---
vue-haoyuneasy/src/views/statement/components/BarChart.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/vue-haoyuneasy/src/views/statement/components/BarChart.vue b/vue-haoyuneasy/src/views/statement/components/BarChart.vue
index 1ba0e87..3267ef6 100644
--- a/vue-haoyuneasy/src/views/statement/components/BarChart.vue
+++ b/vue-haoyuneasy/src/views/statement/components/BarChart.vue
@@ -111,7 +111,10 @@
},
yAxis: {
type: 'category',
- data: yAxisData
+ data: yAxisData,
+ // 横向柱状图默认将首项显示在最下方;反转坐标轴后,
+ // 已按金额降序排列的首项(最大值)会显示在最上方。
+ inverse: true
},
series: [
{
--
Gitblit v1.7.1