android - How to shorten the labels on y axis and replace them with short forms in achartengine bar chart -


i working on achartengine bar chart. values on y axis in billions. there not enough space accommodate these values value goes out of screen. want change 1000 k, million m , values accommodated on screen. please suggest way how can achieved.

as far know there no standart method or way this. if need this, download source code , modify it. have customise renderer class.

or can this:

        // rendered         xymultipleseriesrenderer rootrenderer = new xymultipleseriesrenderer();         rootrenderer.setbarspacing(1);          rootrenderer.setxlabels(0);         rootrenderer.addxtextlabel(1, "1k");         rootrenderer.addxtextlabel(2, "2k");  

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -