Set color of a scatter chart datapoint


#1

Hi,

Is there any way to set different colors of the scatter chart bubbles that are in the same series.

I do not see a way to achive this.

Thanks in Advance.


#2

There are two options available; you could either create different series for different colours, or there is a delegate method “sChartTextureForPoint:dataPointAtIndex:forSeriesAtIndex:”.

The latter option would allow you to assign a different image to each datapoint, resulting in a different appearance for each. You could programatically create a UIImage of a particular shape, colour and size, and return it.