summaryrefslogtreecommitdiffstats
path: root/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/performance-chartController.js
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-05-25 19:15:03 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-05-25 19:15:16 +0800
commit704c19c2fef0beb4b0d19081fcb72b4d945eb257 (patch)
tree58a652c8452a66303738d729d97a2e70f04fa95b /usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/performance-chartController.js
parentc1860a6f7cd410f25dfc596720eb70a109090b5f (diff)
fix scaling progress display bug
Change-Id: I60edb3c467ed46bb9e948837f537e06fed8b1aec Issue-ID: USECASEUI-119 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/performance-chartController.js')
-rw-r--r--usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/performance-chartController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/performance-chartController.js b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/performance-chartController.js
index 6d9c36a7..21363ff0 100644
--- a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/performance-chartController.js
+++ b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/performance-chartController.js
@@ -211,7 +211,7 @@ app.controller('pertabCtrl', ['$scope', '$http', '$routeParams', '$window' ,
var options = {
tooltip: {
trigger: 'axis',
- formatter: (params) => {
+ formatter: function(params){
var res = '<p>' + params[0].name + '</p>' + '<div>';
// console.log(params);
for (var i = 0; i < params.length; i++) {
@@ -241,7 +241,7 @@ app.controller('pertabCtrl', ['$scope', '$http', '$routeParams', '$window' ,
boundaryGap: true,
data: data.dateList,
axisLabel:{
- formatter:(value)=>{
+ formatter:function(value){
if($scope.showModeId == 'day'){
return value.slice(5,10)
}else if($scope.showModeId == 'hour'){