diff options
| author | Manuel Luis SanmartĂn Rozada | 2014-07-25 18:08:20 +0200 |
|---|---|---|
| committer | Pim van den Berg | 2014-07-25 20:35:41 +0200 |
| commit | 8e0483195c72b51850ea4c807a5aea380e4961aa (patch) | |
| tree | 69fe972042e2b7b7b71711773802646b149c5103 /js/RrdGraph.js | |
| parent | jsrrdgraph: Fix flags parsing (options without a value) (diff) | |
| download | apt-panopticon_cgp-8e0483195c72b51850ea4c807a5aea380e4961aa.zip apt-panopticon_cgp-8e0483195c72b51850ea4c807a5aea380e4961aa.tar.gz apt-panopticon_cgp-8e0483195c72b51850ea4c807a5aea380e4961aa.tar.bz2 apt-panopticon_cgp-8e0483195c72b51850ea4c807a5aea380e4961aa.tar.xz | |
jsrrdgraph: Fix textalign name typo. Thanks to Poil
Diffstat (limited to 'js/RrdGraph.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 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 | ||
| 2988 | RrdGraph.prototype.gdes_add_textalign = function (align) | 2988 | RrdGraph.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 | ||
| 2993 | RrdGraph.prototype.gdes_add_vrule = function (time, color, legend) | 2993 | RrdGraph.prototype.gdes_add_vrule = function (time, color, legend) |
