[android][critical] Chart loads but canvas is blank


There seems to be a major issue with the charting library on Android 4.x, with versions 1.7.x
After upgrading my app form 1.5.x to 1.7.1 my users are reporting they are no longer seeing charts in the chart activity. Everything loads and is instantiated, but the chart is not drawn and a blank canvas is displayed. No exceptions or other erros in the logs. Everyting looks peachy, nothing renders. I can reproduce this consistenly on Android 4.0.3 to 4.1.1 (x86 and arm), but none of the later revisions, starting with 4.2 onwards. 

Here’s a screenshot from Android 4.1.1 on Genymotion:

That greyish blob is where the chart should be, like this (this is Android 4.2.2 on Genymotion):


Managed to narrow it down to Android 4.1.1 and 4.1.2 only. The 4.0.3 was reported by mistake.
Afftected devices so far: Samsung Galaxy S3 mini, Iconia Tab 211, Samsung Galaxy S2, Samsung Galaxy Note2.

I’ve gone through all versions of the library from 1.3.5 to 1.7.1 latest hotfix, same issue.
Doesn’t seem to affect 1.3.2 or earlier. 


Right. Issue found and fixed. Needed a proper trace, but it turns out one of my data methods was never called on those API versions, and was silently derailing the entire chain of events. Alarm bells off.


Hi ptashek,

Glad to see that you have been able to solve this particular issue. Don’t hesitate to let us know if it happens again.