projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
share/collection.js: Add the vertical (y-axis) label.
[collection4.git]
/
share
/
collection.js
diff --git
a/share/collection.js
b/share/collection.js
index
57de19d
..
57bd04d
100644
(file)
--- 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 */