From 34af8df47ccc9a77bd15d17497f8d4491449033f Mon Sep 17 00:00:00 2001
From: Manuel Luis SanmartĂ­n Rozada
Date: Thu, 30 Jan 2014 23:49:04 +0100
Subject: jsrrdgraph: Fix graph width to look like rrdtool.

---
 js/RrdGraph.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'js')

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)
 		this.ysize = Ymain;
 	} else {
 		if (elements) {
-//		Xmain = this.xsize; // + Xspacing;
-			Xmain = this.xsize + Xspacing; //FIXME ???
+			Xmain = this.xsize;
 			Ymain = this.ysize;
 		}
 		this.ximg = Xmain + Xylabel;
-- 
cgit v1.1