Mpandroidchart: Animations Don't work

Created on 8 Mar 2017  路  2Comments  路  Source: PhilJay/MPAndroidChart

I copied your code for ListViewMultiChartActivity. Copied every single class and put it in my project everything draws fine except the animations of the Graphs when they are first painted. Yours animate and fill mine are drawn immediately with no animations. Why? Is there something that sets these globally that I am missing?

Most helpful comment

Found out it was a proguard issue needed to add this to our proguard file
-keep class com.github.mikephil.charting.** { *; }

All 2 comments

chart.animateXY(2000, 2000);

Found out it was a proguard issue needed to add this to our proguard file
-keep class com.github.mikephil.charting.** { *; }

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JungYongWook picture JungYongWook  路  3Comments

galex picture galex  路  3Comments

vishvendu picture vishvendu  路  3Comments

ChenZeFengHi picture ChenZeFengHi  路  3Comments

AndroidJiang picture AndroidJiang  路  3Comments