score:2

according to this post you are only missing to call redraw on series. and also it addresses how to change the color of series completely including markers and legend too in addition to line object. changing series color in highcharts dynamically

var series = chart.series[0];
series.setdata(data);

if(jquery.inarray(data[$i][2], http_code_arr) > -1)
{
series.color = "#ff0000";
series.graph.attr({ stroke: '#ff0000' });
}
else
{
series.color = "#3bbee3";
series.graph.attr({ stroke: '#3bbee3' });
}

chart.legend.colorizeitem(series, series.visible);

$.each(series.data, function(i, point) {
    point.graphic.attr({
          fill: '#ff00ff'
    });
});

series.redraw();

Related Query

More Query from same tag