Highcharts - Change line color between points

Viewed 6207

I have a line chart graph as can be seen on this fiddle http://jsfiddle.net/qjmjd34d/5/

And with this code:

Highcharts.chart('container', {
    plotOptions: {
        series: {
            color: 'purple'
        }
    },

    series: [{
    data: [{x: 1, y: 435, color:'blue'},
           {x: 2, y: 437, color:'blue'}, 
           {x: 3, y: 455, color:'blue'}, 
           {x: 4, y: 475, color:'blue'}, 
           {x: 5, y: 555, color:'blue'},
           {x: 6, y: 435, color:'blue'}]
    }]
});

Modifying the color of the points is oblivious however, how is it possible to change the color of the line between them?

Suppose I want the line in the given example on the fiddle to be green only between x = 3 and x = 5 - how is that possible?

1 Answers
Related