Graphs in Android: aChartEngine vs GraphView -


i developing app health gadget , point need able draw graphs. data continuously received via bluetooth , graph should similar cardiograph 1 continuous smooth update when new data received. found 2 libraries tackle issue (achartengine , graphview). please suggest difference between them , when use each of them?

here quick summary of 3 libraries have tested draw real-time graphs.

  1. graphview http://www.android-graphview.org/

    pros: great showing , updating multiple graphs in 1 view (tested 12 graphs). great documentation. works fine single graph in view.

    cons: limited styling options. y-axis neither scalable not scrollable. difficult have x-axis time (hh:mm:ss:sss) updated real-time

  2. mpandroidchart https://github.com/philjay/mpandroidchart

    pros: great styling options. easy implement on tap listener. real-time update supported. scalable , scrollable in directions. best use single graph in view. pretty documentation.

    cons: slower , consumer more memory graphview.

  3. achartengine

    pros: powerful library tons of options , community.

    cons: real-time update not supported means 1 has spend amount of time work real-time updates. moreover, documentation limited though multiple examples can traced online.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -