From 25da36be2318c1247592dce7d499d0b985c80fe0 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期日, 03 十二月 2023 23:07:03 +0800 Subject: [PATCH] 历史数据导入时,赋默认值报空指针异常bug修复 --- Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue b/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue index 6176e9c..065c234 100644 --- a/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue +++ b/Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue @@ -61,6 +61,7 @@ name: seriesName, type: "bar", stack: "鎬婚噺", + barWidth: 60, data: curSeriesData, label: { show: true, @@ -108,6 +109,9 @@ legend: { data: ["鎬婚噺", "鏂板"], left: "center", + textStyle: { + fontSize: 14 // 璋冩暣瀛椾綋澶у皬 + } }, xAxis: { type: "category", -- Gitblit v1.9.3