aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/js
diff options
context:
space:
mode:
authorManuel Luis SanmartĂ­n Rozada2014-01-30 23:49:04 +0100
committerPim van den Berg2014-06-28 21:58:54 +0200
commit34af8df47ccc9a77bd15d17497f8d4491449033f (patch)
treee97f63ae0658a07d0753dbcb1f16e04c5cf84936 /js
parentjsrrdgraph: Fix errors in second axis. (diff)
downloadapt-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.
Diffstat (limited to 'js')
-rw-r--r--js/RrdGraph.js3
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;