From 3a35dee0e308c018ad8e54688baf07c28458ad4d Mon Sep 17 00:00:00 2001 From: Gregoire Seux Date: Mon, 5 May 2014 09:31:26 +0200 Subject: [PATCH] Default to auto scaling for grid min setting fixes #226 --- src/app/dashboards/default.json | 4 ++-- src/app/panels/graphite/module.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/dashboards/default.json b/src/app/dashboards/default.json index 41a5fd76a49..c0e58b154e0 100644 --- a/src/app/dashboards/default.json +++ b/src/app/dashboards/default.json @@ -48,7 +48,7 @@ "y_formats": ["short", "short"], "grid": { "max": null, - "min": 0 + "min": null }, "resolution": 100, "lines": true, @@ -150,4 +150,4 @@ "hide": false }, "refresh": false -} \ No newline at end of file +} diff --git a/src/app/panels/graphite/module.js b/src/app/panels/graphite/module.js index 1c73d917559..e3bfa2f8296 100644 --- a/src/app/panels/graphite/module.js +++ b/src/app/panels/graphite/module.js @@ -94,7 +94,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) { */ grid : { max: null, - min: 0, + min: null, threshold1: null, threshold2: null, threshold1Color: 'rgba(216, 200, 27, 0.27)',