Permalink
Browse files

use plain graph template

  • Loading branch information...
1 parent ae90fd2 commit cef2bb1107ea8b3b61766f8f2da4402d2489bbfd obfuscurity committed Sep 6, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/descartes/public/js/render-common.js
@@ -3,7 +3,8 @@ var myColumns = 3;
var myInterval = '1h';
var myGraphHeight = 150;
var myGraphProfileHeight = 300;
-var myGraphOptions = 'hideLegend=true';
+var myGraphTemplate = 'plain';
+var myGraphOptions = 'hideLegend=true&template=' + myGraphTemplate;
var myPageIndex = 1;
var myRowIndex = 0;
var myDeleteGraphCounter = 0;
@@ -89,7 +90,7 @@ var constructGraphUrl = function(graph) {
} else {
// Graph profile page
myGraphHeight = myGraphProfileHeight;
- myGraphOptions = '';
+ myGraphOptions += '&hideLegend=false';
}
var myGraphUrl = graphiteUrl + '/render/?' + 'height=' + myGraphHeight + '&width=' + myGraphWidth;
var targets = '';

0 comments on commit cef2bb1

Please sign in to comment.