From ee08a0328604cb2ed1e4f6abc32360fbcf1c2e76 Mon Sep 17 00:00:00 2001 From: Xin Date: Fri, 5 Feb 2016 17:10:40 -0800 Subject: [PATCH] update storage charts Change-Id: I3992b6c6bcfe06e707ad06919c81fea7d5704b10 --- kb_web/storage/storageRandRead.html | 2 +- kb_web/storage/storageRandWrite.html | 2 +- kb_web/storage/storageRead.html | 2 +- kb_web/storage/storageWrite.html | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/kb_web/storage/storageRandRead.html b/kb_web/storage/storageRandRead.html index d31d799..a945946 100644 --- a/kb_web/storage/storageRandRead.html +++ b/kb_web/storage/storageRandRead.html @@ -175,7 +175,7 @@ ], axes: { x: {key: 'x', type: 'linear',ticksFormat: 'd'}, - y: {type: 'linear', ticksFormat: 'd', innerTicks: true,max:max*1.0005,min:min*0.995}, + y: {type: 'linear', ticksFormat: 'd', innerTicks: true,max:max*1.0005,min:0}, y2: {type: 'log', ticksFormat: 'd', innerTicks: false,grid: true} }, tooltip: {mode: 'scrubber', formatter: function(x, y,series) {return series.label+":"+y;}}, diff --git a/kb_web/storage/storageRandWrite.html b/kb_web/storage/storageRandWrite.html index 3e10ba1..7e0991f 100644 --- a/kb_web/storage/storageRandWrite.html +++ b/kb_web/storage/storageRandWrite.html @@ -171,7 +171,7 @@ ], axes: { x: {key: 'x', type: 'linear',ticksFormat: 'd'}, - y: {type: 'linear', ticksFormat: 'd', innerTicks: true, max:max*1.0005,min:min*0.995}, + y: {type: 'linear', ticksFormat: 'd', innerTicks: true, max:max*1.0005,min:0}, y2: {type: 'log', ticksFormat: 'd', innerTicks: false,grid: true} }, tooltip: {mode: 'scrubber', formatter: function(x, y,series) {return series.label+":"+y;}}, diff --git a/kb_web/storage/storageRead.html b/kb_web/storage/storageRead.html index 4170096..26f4029 100644 --- a/kb_web/storage/storageRead.html +++ b/kb_web/storage/storageRead.html @@ -172,7 +172,7 @@ ], axes: { x: {key: 'x', type: 'linear',ticksFormat: 'd'}, - y: {type: 'linear', ticksFormat: 'd', innerTicks: false,max:max*1.0005,min:min*0.995}, + y: {type: 'linear', ticksFormat: 'd', innerTicks: false,max:max*1.0005,min:0}, y2: {type: 'log', ticksFormat: 'd', innerTicks: false,grid: true} }, tooltip: {mode: 'scrubber', formatter: function(x, y,series) {return series.label+":"+y;}}, diff --git a/kb_web/storage/storageWrite.html b/kb_web/storage/storageWrite.html index fc88692..bddb2c7 100644 --- a/kb_web/storage/storageWrite.html +++ b/kb_web/storage/storageWrite.html @@ -160,6 +160,7 @@ } } if(max == min) min = 0; + console.log(min); $scope.options = { series: [ {y: 'IOPS', color: '#F44336', type: 'column', striped: true, label: 'Rate BW'}, @@ -170,7 +171,7 @@ ], axes: { x: {key: 'x', type: 'linear',ticksFormat: 'd'}, - y: {type: 'linear', ticksFormat: 'd', innerTicks: true,max:max*1.0005,min:min*0.995}, + y: {type: 'linear', ticksFormat: 'd', innerTicks: true,max:max*1.0005,min:0}, y2: {type: 'log', ticksFormat: 'd', innerTicks: false,grid: true} }, tooltip: {mode: 'scrubber', formatter: function(x, y,series) {return series.label+":"+y;}},