update storage charts

Change-Id: I3992b6c6bcfe06e707ad06919c81fea7d5704b10
This commit is contained in:
Xin 2016-02-05 17:10:40 -08:00
parent 5cb67893f3
commit ee08a03286
4 changed files with 5 additions and 4 deletions

View File

@ -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;}},

View File

@ -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;}},

View File

@ -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;}},

View File

@ -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;}},