Add width (and/or minWidth and maxWidth) properties for yAxis.labels
This would simplify stacking timeseries charts, as described in an earlier question: http://stackoverflow.com/questions/15582294/fixed-y-axis-label-width-in-highcharts.
I'm familiar with the approach using multiple plot areas (as seen in http://jsfiddle.net/markwatson/D7rBR/), but it seems like stacking multiple charts in the same time range, and aligning the data consistently seems very reasonable to me.
We now support setting label width. Overflow is handled through text-overflow: ellipsis.
-
The simpler approach is to set a fixed chart.marginLeft, then the label sizes will be ignored altogether and multiple axes become aligned.
-
Craig Oshima commented
FWIW, it IS possible to do this with a custom formatter. By setting "useHTML" to true and returning a "<span>" with a CSS width set, Highcharts (as of v3 anyway) respects the width.