Christian Schober
Christian Schober

Reputation: 185

achartengine - different colors for different points and lines

I'm using AChartEngine to visualize measurement values in a line chart view. The visualization itself works already however one important part is missing and I have no idea how to implement it. Each circle represents a measurement value and the color of each circle depends on the value of the measurement. Does anybody know how to change the color of a circle as shown in the image?

http://whiterabbitsoftware.com/images/whiterabbit/misc/line_chart.png

thx and cheers, Chris

Upvotes: 2

Views: 1383

Answers (1)

Dan D.
Dan D.

Reputation: 32391

One suggestion is to create several series of data. Each series is responsible for rendering the points of a given color.

Upvotes: 1

Related Questions