score:3

Accepted answer

You'll need to preprocess the data to assign the colors. Something like this:

var input = [34.4, 62.5, 80.1, 70, 69.6, 69.5, 89.1, 68.4, 18,
                17.3],
data = [];
$.each(input, function(index, value){
    var color;
    if (value > 80) color = 'red';
    else if (value > 65) color = 'yellow';
    else color = 'green';
    data.push({y:value, color: color});
});

http://jsfiddle.net/btwCb/


Related Query

More Query from same tag