Explorar o código

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

Torkel Ödegaard %!s(int64=12) %!d(string=hai) anos
pai
achega
487aa1f2c3
Modificáronse 1 ficheiros con 2 adicións e 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':