jjoe64 / GraphView

Android Graph Library for creating zoomable and scrollable line and bar graphs.
https://github.com/jjoe64/GraphView/wiki
Other
2.76k stars 811 forks source link

append does no refresh #40

Closed jjoe64 closed 11 years ago

jjoe64 commented 11 years ago

The android version used was 4.1.1 on a Samsung Galaxy S3 LTE.

I tested it now with the emulator on the versions 2.3.3 (API 10), 4.0.3 (API 15) and 4.2 (API 17): On this APIs is the graph updated like expected.

Only when running a emulater with API 16 (4.1.2) or the phone (4.1.1) is the graph not drawn.

The strange thing is, that it is updating the labels on the y axis (but not on the x), and thereby not drawing the graph. It updates the graph as soon as one clicks on it.

Lauszus commented 11 years ago

I believe my pull request fixes this issue: https://github.com/jjoe64/GraphView/pull/37