How to align centre a custom label in highcharts
- by Chrissy
See a jsfiddle example
I am trying to align the custom label in the /labels/items JSON element to hang right under the title and subtitle.
Playing with firebug I can alter the SVG text element for the label and add text-align='middle' and change the x='' attribute to have the same value as the title's x attribute. This makes it perfectly align under the title and stay there when resized but I can't figure out how to make the highcharts library generate this source.
Maybe there is a better way to add another label under the subtitle?