Default to auto scaling for grid min setting

fixes #226
This commit is contained in:
Gregoire Seux 2014-05-05 09:31:26 +02:00
parent 8fe4422d21
commit 3a35dee0e3
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@
"y_formats": ["short", "short"], "y_formats": ["short", "short"],
"grid": { "grid": {
"max": null, "max": null,
"min": 0 "min": null
}, },
"resolution": 100, "resolution": 100,
"lines": true, "lines": true,
@ -150,4 +150,4 @@
"hide": false "hide": false
}, },
"refresh": false "refresh": false
} }

View File

@ -94,7 +94,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
*/ */
grid : { grid : {
max: null, max: null,
min: 0, min: null,
threshold1: null, threshold1: null,
threshold2: null, threshold2: null,
threshold1Color: 'rgba(216, 200, 27, 0.27)', threshold1Color: 'rgba(216, 200, 27, 0.27)',