diff options
author | Manuel Luis SanmartĂn Rozada | 2014-01-30 23:49:04 +0100 |
---|---|---|
committer | Pim van den Berg | 2014-06-28 21:58:54 +0200 |
commit | 34af8df47ccc9a77bd15d17497f8d4491449033f (patch) | |
tree | e97f63ae0658a07d0753dbcb1f16e04c5cf84936 | |
parent | jsrrdgraph: Fix errors in second axis. (diff) | |
download | apt-panopticon_cgp-34af8df47ccc9a77bd15d17497f8d4491449033f.zip apt-panopticon_cgp-34af8df47ccc9a77bd15d17497f8d4491449033f.tar.gz apt-panopticon_cgp-34af8df47ccc9a77bd15d17497f8d4491449033f.tar.bz2 apt-panopticon_cgp-34af8df47ccc9a77bd15d17497f8d4491449033f.tar.xz |
jsrrdgraph: Fix graph width to look like rrdtool.
-rw-r--r-- | js/RrdGraph.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/RrdGraph.js b/js/RrdGraph.js index cf39f8f..9d35581 100644 --- a/js/RrdGraph.js +++ b/js/RrdGraph.js | |||
@@ -2520,8 +2520,7 @@ RrdGraph.prototype.graph_size_location = function (elements) | |||
2520 | this.ysize = Ymain; | 2520 | this.ysize = Ymain; |
2521 | } else { | 2521 | } else { |
2522 | if (elements) { | 2522 | if (elements) { |
2523 | // Xmain = this.xsize; // + Xspacing; | 2523 | Xmain = this.xsize; |
2524 | Xmain = this.xsize + Xspacing; //FIXME ??? | ||
2525 | Ymain = this.ysize; | 2524 | Ymain = this.ysize; |
2526 | } | 2525 | } |
2527 | this.ximg = Xmain + Xylabel; | 2526 | this.ximg = Xmain + Xylabel; |