diff options
author | 2019-12-19 16:11:55 +0800 | |
---|---|---|
committer | 2019-12-19 16:12:00 +0800 | |
commit | c2f28a09fbc4206c266e1caab0a29d0a25d6864f (patch) | |
tree | c8e41eb3bd2e12e628c9914a44b87dcd98a9b64b /usecaseui-portal/src/app/views/fcaps/monitor-5g/monitorEchartsConfig.ts | |
parent | a2cd3a3f639dc40fb4d55125de9fbe6db9960d1f (diff) |
feat:Optimize legend and tooltip of slicing monitor page
Change-Id: I1747cac83a5d60d50c230dcafdb25c6f8828a2fe
Issue-ID: USECASEUI-370
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/fcaps/monitor-5g/monitorEchartsConfig.ts')
-rw-r--r-- | usecaseui-portal/src/app/views/fcaps/monitor-5g/monitorEchartsConfig.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/views/fcaps/monitor-5g/monitorEchartsConfig.ts b/usecaseui-portal/src/app/views/fcaps/monitor-5g/monitorEchartsConfig.ts index e2bde449..34f3b59f 100644 --- a/usecaseui-portal/src/app/views/fcaps/monitor-5g/monitorEchartsConfig.ts +++ b/usecaseui-portal/src/app/views/fcaps/monitor-5g/monitorEchartsConfig.ts @@ -7,6 +7,7 @@ export const pieChartconfig = { }, legend: { orient: 'vertical', + type: 'scroll', left: '0px', bottom: '0px', itemWidth: 10, @@ -37,8 +38,21 @@ export const pieChartconfig = { export const lineChartconfig = { height: 320, option: { + "tooltip": { + "trigger": "axis", + "axisPointer": { + "type": "line", + textStyle: { + color: "#fff" + }, + lineStyle: { + color: '#ccc' + } + }, + }, legend: { bottom: '0px', + type: 'scroll', data: [] }, xAxis: { |