diff options
author | Manuel Luis SanmartĂn Rozada | 2014-07-25 18:27:01 +0200 |
---|---|---|
committer | Pim van den Berg | 2014-07-25 20:35:52 +0200 |
commit | 942a3d2022f57917c6003e0919f49ea6ccf22ba8 (patch) | |
tree | b8742dd3fdf13cdf7e802c9b7e0ee439371f6c29 | |
parent | jsrrdgraph: Check when this.gdes[i].legend is null (diff) | |
download | apt-panopticon_cgp-942a3d2022f57917c6003e0919f49ea6ccf22ba8.zip apt-panopticon_cgp-942a3d2022f57917c6003e0919f49ea6ccf22ba8.tar.gz apt-panopticon_cgp-942a3d2022f57917c6003e0919f49ea6ccf22ba8.tar.bz2 apt-panopticon_cgp-942a3d2022f57917c6003e0919f49ea6ccf22ba8.tar.xz |
jsrrdgraph: Fix ident. Thanks to Poil
-rw-r--r-- | js/RrdGraph.js | 6 |
1 files changed, 3 insertions, 3 deletions
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() | |||
2426 | } else { | 2426 | } else { |
2427 | this.gfx.new_area(X0, Y0 - boxV, X0, Y0, X0 + boxH, Y0, this.GRC.BACK); | 2427 | this.gfx.new_area(X0, Y0 - boxV, X0, Y0, X0 + boxH, Y0, this.GRC.BACK); |
2428 | this.gfx.add_point(X0 + boxH, Y0 - boxV); | 2428 | this.gfx.add_point(X0 + boxH, Y0 - boxV); |
2429 | this.gfx.close_path(); | 2429 | this.gfx.close_path(); |
2430 | this.gfx.new_area(X0, Y0 - boxV, X0, Y0, X0 + boxH, Y0, this.gdes[i].col); | 2430 | this.gfx.new_area(X0, Y0 - boxV, X0, Y0, X0 + boxH, Y0, this.gdes[i].col); |
2431 | this.gfx.add_point(X0 + boxH, Y0 - boxV); | 2431 | this.gfx.add_point(X0 + boxH, Y0 - boxV); |
2432 | this.gfx.close_path(); | 2432 | this.gfx.close_path(); |
2433 | if (this.gdes[i].dash) this.gfx.set_dash([ 3.0 ], 1, 0.0); | 2433 | if (this.gdes[i].dash) this.gfx.set_dash([ 3.0 ], 1, 0.0); |
2434 | this.gfx.rectangle(X0, Y0, X0 + boxH, Y0 - boxV, 1.0, this.GRC.FRAME); | 2434 | this.gfx.rectangle(X0, Y0, X0 + boxH, Y0 - boxV, 1.0, this.GRC.FRAME); |