score:2

Accepted answer

Here is the solution : [credit : @PawelFus(highcharts) for addressing similar problem]

var chartX=  $('#container-speed').highcharts();
$('#changeStops').click(function(){
chartX.yAxis[0].update({
    stops: [[0.1, '#a2a2a2'], // grey
           [0.5, '#a2a2a2'], // grey
           [0.9, '#a2a2a2']] // grey
  },false); 
    chartX.series[0].bindAxes();
    chartX.redraw(true);
});

Working fiddle here and Here


Related Query

More Query from same tag