diff options
Diffstat (limited to 'usecaseui-portal/src/app/views/fcaps')
-rw-r--r-- | usecaseui-portal/src/app/views/fcaps/monitor-management-service/monitor-facps-service/monitor-facps-service.component.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/views/fcaps/monitor-management-service/monitor-facps-service/monitor-facps-service.component.ts b/usecaseui-portal/src/app/views/fcaps/monitor-management-service/monitor-facps-service/monitor-facps-service.component.ts index 1c5017c4..7d877371 100644 --- a/usecaseui-portal/src/app/views/fcaps/monitor-management-service/monitor-facps-service/monitor-facps-service.component.ts +++ b/usecaseui-portal/src/app/views/fcaps/monitor-management-service/monitor-facps-service/monitor-facps-service.component.ts @@ -42,6 +42,9 @@ export class MonitorFacpsServiceComponent implements OnInit { data: [] } ], + tooltip: { + trigger: 'axis', + }, }, }; @@ -73,6 +76,7 @@ export class MonitorFacpsServiceComponent implements OnInit { containLabel: true, }, xAxis: { + type: "category", axisTick: { show: false, }, @@ -80,6 +84,15 @@ export class MonitorFacpsServiceComponent implements OnInit { show: false, }, axisLabel: { + interval: 0, + show: true, + textStyle: { + color: "#a9a9a9", //更改坐标轴文字颜色 + fontSize: 10 //更改坐标轴文字大小 + }, + rotate: 40, + showMinLabel: true,//显示最小值 + showMaxLabel: true,//显示最大值 color: "#3C4F8C", }, data: this.initData.option.xAxis.data, |