Explorar el Código

Added hideAxes and hideYAxis mapping support for png renderer. #22

Torkel Ödegaard hace 12 años
padre
commit
487aa1f2c3
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/app/directives/grafanaGraph.js

+ 2 - 0
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':