score:4

Accepted answer
  • Make a temp series object.
  • Then loop through you data and assign data.color based on your value and push it to series data object.
  • After the loop finishes push the temp series object to the hightchart options series.

JSFIDDLE

Example is a simple demo. You will need to adapt it to your need.

score:3

You can do this by specifying the colour in your data. e.g. from the highcharts examples:

data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, {
            y: 216.4,
            color: '#BF0B23'
        }, 194.1, 95.6, 54.4]

http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/point/color/

http://api.highcharts.com/highcharts#series.data.color


Related Query

More Query from same tag