diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/RrdGraph.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/RrdGraph.js b/js/RrdGraph.js index 40d70da..cf39f8f 100644 --- a/js/RrdGraph.js +++ b/js/RrdGraph.js | |||
@@ -1825,7 +1825,7 @@ RrdGraph.prototype.axis_paint = function() | |||
1825 | if (this.second_axis_scale != 0){ | 1825 | if (this.second_axis_scale != 0){ |
1826 | this.gfx.line (this.xorigin+this.xsize,this.yorigin+4, | 1826 | this.gfx.line (this.xorigin+this.xsize,this.yorigin+4, |
1827 | this.xorigin+this.xsize,this.yorigin-this.ysize-4, | 1827 | this.xorigin+this.xsize,this.yorigin-this.ysize-4, |
1828 | MGRIDWIDTH, this.graph_col[this.GRC.AXIS]); | 1828 | this.MGRIDWIDTH, this.GRC.AXIS); |
1829 | this.gfx.new_area (this.xorigin+this.xsize-2, this.yorigin-this.ysize-2, | 1829 | this.gfx.new_area (this.xorigin+this.xsize-2, this.yorigin-this.ysize-2, |
1830 | this.xorigin+this.xsize+3, this.yorigin-this.ysize-2, | 1830 | this.xorigin+this.xsize+3, this.yorigin-this.ysize-2, |
1831 | this.xorigin+this.xsize, this.yorigin-this.ysize-7, /* LINEOFFSET */ | 1831 | this.xorigin+this.xsize, this.yorigin-this.ysize-7, /* LINEOFFSET */ |
@@ -2294,7 +2294,7 @@ RrdGraph.prototype.draw_horizontal_grid = function() | |||
2294 | nlabels++; | 2294 | nlabels++; |
2295 | if (this.second_axis_scale != 0){ | 2295 | if (this.second_axis_scale != 0){ |
2296 | var graph_label_right; | 2296 | var graph_label_right; |
2297 | sval = this.ygrid_scale.gridstep*i*this.second_axis_scale+this.second_axis_shift; | 2297 | var sval = this.ygrid_scale.gridstep*i*this.second_axis_scale+this.second_axis_shift; |
2298 | if (!this.second_axis_format){ | 2298 | if (!this.second_axis_format){ |
2299 | if (!second_axis_magfact){ | 2299 | if (!second_axis_magfact){ |
2300 | var dummy = this.ygrid_scale.gridstep*(sgrid+egrid)/2.0*this.second_axis_scale+this.second_axis_shift; | 2300 | var dummy = this.ygrid_scale.gridstep*(sgrid+egrid)/2.0*this.second_axis_scale+this.second_axis_shift; |