aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/js/RrdCmdLine.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/RrdCmdLine.js')
-rw-r--r--js/RrdCmdLine.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/RrdCmdLine.js b/js/RrdCmdLine.js
index ab2910f..ceec693 100644
--- a/js/RrdCmdLine.js
+++ b/js/RrdCmdLine.js
@@ -69,7 +69,7 @@ RrdCmdLine.prototype = {
69 } else if (/^TICK:/.test(arg)) { 69 } else if (/^TICK:/.test(arg)) {
70 this.parse_tick(arg); 70 this.parse_tick(arg);
71 } else if (/^TEXTALIGN:/.test(arg)) { 71 } else if (/^TEXTALIGN:/.test(arg)) {
72 this.parse_textaling(arg); 72 this.parse_textalign(arg);
73 } else if (/^SHIFT:/.test(arg)) { 73 } else if (/^SHIFT:/.test(arg)) {
74 this.parse_shift(arg); 74 this.parse_shift(arg);
75 } else if (arg.charAt(0) === '-') { 75 } else if (arg.charAt(0) === '-') {
@@ -488,10 +488,10 @@ RrdCmdLine.prototype = {
488 this.graph.gdes_add_comment(line.substr(index+1)); 488 this.graph.gdes_add_comment(line.substr(index+1));
489 }, 489 },
490 // TEXTALIGN:{left|right|justified|center} 490 // TEXTALIGN:{left|right|justified|center}
491 parse_textaling: function (line) 491 parse_textalign: function (line)
492 { 492 {
493 var index = line.indexOf(':'); 493 var index = line.indexOf(':');
494 this.graph.gdes_add_textaling(line.substr(index+1)); 494 this.graph.gdes_add_textalign(line.substr(index+1));
495 }, 495 },
496 // VRULE:time#color[:legend][:dashes[=on_s[,off_s[,on_s,off_s]...]][:dash-offset=offset]] 496 // VRULE:time#color[:legend][:dashes[=on_s[,off_s[,on_s,off_s]...]][:dash-offset=offset]]
497 parse_vrule: function (line) 497 parse_vrule: function (line)