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

AiTheAnswer picture AiTheAnswer  路  3Comments

andreyfel picture andreyfel  路  3Comments

Giammaofwar picture Giammaofwar  路  3Comments

mrZizik picture mrZizik  路  3Comments

JungYongWook picture JungYongWook  路  3Comments