aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/js/RrdJson.js
diff options
context:
space:
mode:
authorManuel Luis SanmartĂ­n Rozada2014-07-25 18:08:20 +0200
committerPim van den Berg2014-07-25 20:35:41 +0200
commit8e0483195c72b51850ea4c807a5aea380e4961aa (patch)
tree69fe972042e2b7b7b71711773802646b149c5103 /js/RrdJson.js
parentjsrrdgraph: Fix flags parsing (options without a value) (diff)
downloadapt-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/RrdJson.js')
-rw-r--r--js/RrdJson.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/RrdJson.js b/js/RrdJson.js
index 85b7f11..fcbf76b 100644
--- a/js/RrdJson.js
+++ b/js/RrdJson.js
@@ -271,16 +271,16 @@ RrdJson.prototype = {
271 case 'TEXTALIGN': 271 case 'TEXTALIGN':
272 switch (gdes[i].align) { 272 switch (gdes[i].align) {
273 case 'left': 273 case 'left':
274 this.graph.gdes_add_textaling(RrdGraphDesc.TXA_LEFT); 274 this.graph.gdes_add_textalign(RrdGraphDesc.TXA_LEFT);
275 break 275 break
276 case 'right': 276 case 'right':
277 this.graph.gdes_add_textaling(RrdGraphDesc.TXA_RIGHT); 277 this.graph.gdes_add_textalign(RrdGraphDesc.TXA_RIGHT);
278 break 278 break
279 case 'justified': 279 case 'justified':
280 this.graph.gdes_add_textaling(RrdGraphDesc.TXA_JUSTIFIED); 280 this.graph.gdes_add_textalign(RrdGraphDesc.TXA_JUSTIFIED);
281 break 281 break
282 case 'center': 282 case 'center':
283 this.graph.gdes_add_textaling(RrdGraphDesc.TXA_CENTER); 283 this.graph.gdes_add_textalign(RrdGraphDesc.TXA_CENTER);
284 break 284 break
285 } 285 }
286 break; 286 break;