sumit acharya
sumit acharya

Reputation: 629

Android "achartengine" points on Y-axis

I am using "achartengine" in android for chart, in that I want points on Y-axis as 0,0.5,1.0,1.5 instead of 0,1,2,3,4.

What can I do?

Upvotes: 2

Views: 263

Answers (1)

Dan D.
Dan D.

Reputation: 32391

You can tweak the value you set using renderer.setYLabels() until it displays what you need.

Or you can add custom labels:

renderer.addYTextLabel(0.5, "0.5");

Upvotes: 1

Related Questions