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,