From 9b51b2a07769ee049937e16dd45d8c36c87dcc3c Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期五, 08 十二月 2023 17:13:01 +0800 Subject: [PATCH] 主数据 枚举配置模板配置 参照配置表格显示问题处理 --- 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