FYI, if there's no title at all for the axis, this can fail - should be ```if (series.xAxis.axisTitle && series.xAxis.axisTitle.text)``` to be defensive.