score:2

you can do this by pre-processing your data.

something like this:

$.each(dataraw, function(i,val) {
    if(val < low) {
        datafiltered.push({"y":val,"color":"blue"});
    }
    else if(val > high) {
        datafiltered.push({"y":val,"color":"red"});
    }
    else {
        datafiltered.push(val);
    }
});

you have to pre-define your high/low values, loop through your data, and build a data array that includes the color declarations for any values requiring highlight.

example:


Related Query

More Query from same tag