android - MPAndroidChart PieChart Animations -


i set 2 values on piechart. want animate it. want change animation way. animations right left angle. want left right angle. how can change animation direction?

edit 1: library: mpandroidchart

edit 2: althought not relevant, add following code here.

mbutton_availablelimit.setonclicklistener( new view.onclicklistener() {         @override         public void onclick(view v) {             // fromangle , toangle float variables less 360             mpiechart.spin( 500,fromangle,360 - toangle, easing.easingoption.easeinoutquad );         }     } ); 

it's simple in fact,

//for rotating anti-clockwise mpiechart.spin( 500,0,-360f, easing.easingoption.easeinoutquad); 

Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -