diff options
Diffstat (limited to 'js')
| -rw-r--r-- | js/RrdCmdLine.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/RrdCmdLine.js b/js/RrdCmdLine.js index 48b3d9d..581e2f0 100644 --- a/js/RrdCmdLine.js +++ b/js/RrdCmdLine.js | |||
| @@ -442,9 +442,9 @@ RrdCmdLine.prototype = { | |||
| 442 | parse_area: function (line) | 442 | parse_area: function (line) |
| 443 | { | 443 | { |
| 444 | var args = line.split(/#|:/); | 444 | var args = line.split(/#|:/); |
| 445 | var stack = args[3] === 'STACK' ? true : undefined; | 445 | var stack = args[4] === 'STACK' ? true : undefined; |
| 446 | var color = this.graph.parse_color(args[2]); | 446 | var color = this.graph.parse_color(args[2]); |
| 447 | this.graph.gdes_add_area(args[1], this.graph.color2rgba(color), stack); | 447 | this.graph.gdes_add_area(args[1], this.graph.color2rgba(color), args[3], stack); |
| 448 | }, | 448 | }, |
| 449 | // TICK:vname#rrggbb[aa][:fraction[:legend]] | 449 | // TICK:vname#rrggbb[aa][:fraction[:legend]] |
| 450 | parse_tick: function (line) | 450 | parse_tick: function (line) |
