Using Highcharts and categories on the yAxis, how can I make the category label display near the bottom of the category/lane rather than the middle? Looking for something like verticalAlign: 'bottom'
.
Similar to this example I tried adjusting the yAxis.labels.y
value (which does cause it to move) but because the tick & label begin in the middle of the category/lane when using categories, the offset to be adjusted is not known due to a variable chart size and number of categories.
yAxis: {
labels: {
align: 'left',
x: 0,
y: -2
}
}
Here is a slightly modified version of the above example that uses categories on the yAxis but does not currently sit at the correct location if you add/remove categories. Wondering if a better idea might be to hide the yAxis labels altogether and handle the swimlanes and labels with plotbands instead.