From c29a6c5cd3f232ab61d9e97df17c63cf1e4b0755 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 07 十二月 2023 11:46:14 +0800 Subject: [PATCH] 分类路径注入,过滤默认属性、过滤表单不显示导致分类注入失败bug修改 --- 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