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