From 41aacf110288329a6beb494ccccaeabd217a08b9 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期二, 05 十二月 2023 18:05:46 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue b/Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue
index 711d091..600df00 100644
--- a/Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue
+++ b/Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue
@@ -46,6 +46,9 @@
legend: {
data: ["鎬婚噺", "鏂板"],
left: "center",
+ textStyle: {
+ fontSize: 14 // 璋冩暣瀛椾綋澶у皬
+ }
},
xAxis: {
type: "category",
@@ -76,13 +79,14 @@
immediate: true,
handler(newval, oldval) {
if (newval) {
- const colors = ["#8fef5b", "#db3c3c"];
+ const colors = ["#2eadd6", "#db3c3c"];
const seriesData = newval.map((data, index) => ({
name: index === 0 ? "鎬婚噺" : "鏂板",
type: index === 0 ? "bar" : "line",
stack: index === 0 ? "鎬婚噺" : null,
data: data.map(value => ({value})),
+ barWidth: 68,
label: {
show: true,
position: "top"
--
Gitblit v1.9.3