From 942a3d2022f57917c6003e0919f49ea6ccf22ba8 Mon Sep 17 00:00:00 2001 From: Manuel Luis SanmartĂ­n Rozada Date: Fri, 25 Jul 2014 18:27:01 +0200 Subject: jsrrdgraph: Fix ident. Thanks to Poil --- js/RrdGraph.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js') diff --git a/js/RrdGraph.js b/js/RrdGraph.js index 642b9c5..55a131d 100644 --- a/js/RrdGraph.js +++ b/js/RrdGraph.js @@ -2426,9 +2426,9 @@ RrdGraph.prototype.grid_paint = function() } else { this.gfx.new_area(X0, Y0 - boxV, X0, Y0, X0 + boxH, Y0, this.GRC.BACK); this.gfx.add_point(X0 + boxH, Y0 - boxV); - this.gfx.close_path(); - this.gfx.new_area(X0, Y0 - boxV, X0, Y0, X0 + boxH, Y0, this.gdes[i].col); - this.gfx.add_point(X0 + boxH, Y0 - boxV); + this.gfx.close_path(); + this.gfx.new_area(X0, Y0 - boxV, X0, Y0, X0 + boxH, Y0, this.gdes[i].col); + this.gfx.add_point(X0 + boxH, Y0 - boxV); this.gfx.close_path(); if (this.gdes[i].dash) this.gfx.set_dash([ 3.0 ], 1, 0.0); this.gfx.rectangle(X0, Y0, X0 + boxH, Y0 - boxV, 1.0, this.GRC.FRAME); -- cgit v1.1