I need a scatterplot like this: http://www.highcharts.com/demo/scatter but, instead of having one color for each serie (male and female, in the example), I need to select the color for each element. Following the example, each person would be coloured with a different level of gray, depending on their age.
As far as I know, Highcharts allow you to select the color of the elements, but it only affects the element pop-up information when you’re using scatterplot.
Any other library to do scatterplots? Any way to do it with Highcharts?
Thanks!
You should be able to do this inside Hightcharts using the
colorproperty inside thedataarray.You can see the documentation here, and there is also an example for this.
You could try preprocessing your
dataand transform it appending thecolorinformation to the array.