aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/js/RrdGraph.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/RrdGraph.js')
-rw-r--r--js/RrdGraph.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/RrdGraph.js b/js/RrdGraph.js
index dfbbc07..cba141d 100644
--- a/js/RrdGraph.js
+++ b/js/RrdGraph.js
@@ -115,7 +115,7 @@ var RrdGraphDesc = function (graph)
115 this.tick.apply(this, args); 115 this.tick.apply(this, args);
116 break; 116 break;
117 case RrdGraphDesc.GF_TEXTALIGN: 117 case RrdGraphDesc.GF_TEXTALIGN:
118 this.textaling.apply(this, args); 118 this.textalign.apply(this, args);
119 break; 119 break;
120 case RrdGraphDesc.GF_DEF: 120 case RrdGraphDesc.GF_DEF:
121 this.def.apply(this, args); 121 this.def.apply(this, args);
@@ -2987,7 +2987,7 @@ RrdGraph.prototype.gdes_add_comment = function (text)
2987 2987
2988RrdGraph.prototype.gdes_add_textalign = function (align) 2988RrdGraph.prototype.gdes_add_textalign = function (align)
2989{ 2989{
2990 this.gdes.push(new RrdGraphDesc(this, RrdGraphDesc.GF_TEXTALING, align)); 2990 this.gdes.push(new RrdGraphDesc(this, RrdGraphDesc.GF_TEXTALIGN, align));
2991}; 2991};
2992 2992
2993RrdGraph.prototype.gdes_add_vrule = function (time, color, legend) 2993RrdGraph.prototype.gdes_add_vrule = function (time, color, legend)