The most easy and flexible approach I found, and you can use it in any type of series, is this one:
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxchart/index.htm#demos/jqxchart/javascript_chart_series_conditional_colors.htm
Basically you define your own color assignment function like this:
colorFunction: function (value, itemIndex, series, group) {
return (value < 10) ? ‘#FF0000’ : ‘#00FF00’;
}
I like this approach because it allows me to override the chart’s colors assignment and use my own colors in any way I want.
The only thing you need to be careful with is to make sure that your function is fast because the chart will call it many times and for each data point.