sumit acharya
sumit acharya

Reputation: 629

Android AChartEngine error

I am using "achartengine", but I want to use renderer.setXRoundedLabels(false); but its showing error:

The method setXRoundedLabels(boolean) is undefined for the type XYMultipleSeriesRenderer

Upvotes: 2

Views: 232

Answers (2)

Dan D.
Dan D.

Reputation: 32391

The setXRoundedLabels() method is available starting with the 1.1.0 version of AChartEngine. You can download the 1.1.0-rc2 version here.

Upvotes: 1

Mehul Joisar
Mehul Joisar

Reputation: 15358

As you are using achartengine library in your project,renderer is an object of XYMultipleSeriesRenderer class which is defined in the library but it is not having any method named setXRoundedLabels() as per this document achartengine reference doc.

you can also see the class definition of XYMultipleSeriesRenderer over here

Upvotes: 0

Related Questions