score:3

Accepted answer

you can define the color for each point in your data array like this:

for(j=0;j<name.length;j++) { 
    var temp = {
        x:name[j],
        y:value[j],
        color:color[j]
    };
    dataarrayfinal[j] = temp; 
}

this expicitly sets the x, y and color attributes of each data point.

http://jsfiddle.net/xktj3/


Related Query

More Query from same tag