diff options
Diffstat (limited to '')
-rw-r--r-- | js/RrdGraph.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/RrdGraph.js b/js/RrdGraph.js index 1a9cc9f..d2dbdb4 100644 --- a/js/RrdGraph.js +++ b/js/RrdGraph.js | |||
@@ -325,6 +325,8 @@ RrdGraphDesc.prototype.tick = function (graph, vname, color, fraction, legend) | |||
325 | this.col = color; | 325 | this.col = color; |
326 | if (fraction !== undefined) | 326 | if (fraction !== undefined) |
327 | this.yrule = fraction; | 327 | this.yrule = fraction; |
328 | else | ||
329 | this.yrule = 0.1; | ||
328 | if (legend === undefined) this.legend = ''; | 330 | if (legend === undefined) this.legend = ''; |
329 | else if (legend.length === 0) this.legend = ''; | 331 | else if (legend.length === 0) this.legend = ''; |
330 | else this.legend = ' '+legend; | 332 | else this.legend = ' '+legend; |