From 3e6e3cccd41e970c438bc8199fe5d5b55e409a58 Mon Sep 17 00:00:00 2001 From: jongbowen <970029315@qq.com> Date: Wed, 17 May 2023 09:28:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=80=BE=E6=96=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../examStatistics/echarts/echarts.component.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/app/examiner/statistic-analysis/examStatistics/echarts/echarts.component.ts b/src/app/examiner/statistic-analysis/examStatistics/echarts/echarts.component.ts index a45f992..3567c04 100644 --- a/src/app/examiner/statistic-analysis/examStatistics/echarts/echarts.component.ts +++ b/src/app/examiner/statistic-analysis/examStatistics/echarts/echarts.component.ts @@ -79,8 +79,8 @@ export class EchartsComponent implements OnInit { "宾阳大队", "横县大队", ], - frequency: [2, 3, 1, 1, 2, 1, 0, 1, 1, 0, 2, 0, 0, 1, 0], - number: [30, 30, 10, 10, 20, 10, 0, 10, 10, 0, 20, 0, 0, 10, 0], + frequency: [2, 3, 1, 1, 2, 1, 0, 1, 1, 0, 2, 0, 0, 1, 0,0], + number: [30, 30, 10, 10, 20, 10, 0, 10, 10, 0, 20, 0, 0, 10, 0,0], }; jiuData = { @@ -156,8 +156,10 @@ export class EchartsComponent implements OnInit { type: "category", data: this.zhiData.name, axisLabel: { - fontSize: 10, + fontSize: 12, lineHeight: 31, + interval: 0, + rotate: this.zhiData.name.length<15?0:40, }, axisLine: { show: false, @@ -174,6 +176,7 @@ export class EchartsComponent implements OnInit { axisLabel: { fontSize: 18, lineHeight: 31, + }, axisTick: { show: false,