This can be done in the chart.events.load
method using the axis.update()
call:
chart: {
events: {
load: function (event) {
this.yAxis[0].update({
lineColor: this.series[0].color
});
}
}
}
Live demo.