From: Florian Forster Date: Thu, 23 Dec 2010 08:29:40 +0000 (+0100) Subject: share/collection.js: Add the vertical (y-axis) label. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d8668f727e7205258be6b362015723550d89b32c;p=collection4.git share/collection.js: Add the vertical (y-axis) label. --- diff --git a/share/collection.js b/share/collection.js index 57de19d..57bd04d 100644 --- a/share/collection.js +++ b/share/collection.js @@ -358,6 +358,9 @@ function inst_get_chart_opts (inst, def) /* {{{ */ if (def.title) chart_opts.title = { text: def.title }; + if (def.vertical_label) + chart_opts.yAxis.title = { text: def.vertical_label }; + return (chart_opts); } /* }}} function chart_opts_get */