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.
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
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.
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
Post a Comment