From 487aa1f2c330df0896735b25fd2873916e4f74b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 5 Feb 2014 11:21:37 +0100 Subject: [PATCH] Added hideAxes and hideYAxis mapping support for png renderer. #22 --- src/app/directives/grafanaGraph.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/directives/grafanaGraph.js b/src/app/directives/grafanaGraph.js index bd4276ba8fa..1460d083e65 100644 --- a/src/app/directives/grafanaGraph.js +++ b/src/app/directives/grafanaGraph.js @@ -177,6 +177,8 @@ function (angular, $, kbn, moment, _) { url += scope.panel.legend ? '' : '&hideLegend=true'; url += scope.panel.grid.min ? '&yMin=' + scope.panel.grid.min : ''; url += scope.panel.grid.max ? '&yMax=' + scope.panel.grid.max : ''; + url += scope.panel['x-axis'] ? '' : '&hideAxes=true'; + url += scope.panel['y-axis'] ? '' : '&hideYAxis=true'; switch(scope.panel.nullPointMode) { case 'connected':