Can someone assist me in bolding only the middle elements of a highcharts x axis? I have tried to apply a solution in the provided fiddle but it doesn't work as expected. Specifically, I am looking to bold the x-axis labels for June or July.
http://jsfiddle.net/utnz2b9e/15/
This is my attempted code to individually bold all elements, which didn't yield the desired result:
var chart = $('.actualPlansPlot').highcharts();
var xAxis = chart.xAxis[0];
for (var tick in xAxis.ticks) {
if (xAxis.ticks[tick].label) {
xAxis.ticks[tick].label.styles['fontWeight'] = 'bold';
}
}
chart.redraw();
Any guidance on how to achieve this specific formatting would be greatly appreciated!