Hanry
Hanry

Reputation: 5531

How to Plot Y-axis labels on right hand side of Android Chart

I am using XYMultipleSeriesRenderer buildRenderer to draw the chart.... I don't want to use canvas.

any solution??

I don't want to flip whole graph just put the Y-axis or Y-labels on the Right-Hand-Side instead of default left side.

|


|

                     30
|

                     20

                     10
|---------------------------

Upvotes: 2

Views: 2001

Answers (2)

Uttam
Uttam

Reputation: 12399

import new 0.7.0 library of achartengine and just do....

renderer.setYAxisAlign(Align.CENTER,0);

Upvotes: 7

user650309
user650309

Reputation: 2899

You could try putting a second view which displays the labels to the right hand side of the main view. I did that when I had to create a second Y axis on a graph.

Upvotes: 0

Related Questions