18

I want to develop an activity to display sensor data in a plot. I've been looking around and I have found that the more interesting options for me are achartengine and AndroidPlot.

I need the following requirements:

  1. Line plot with 3 or more series
  2. Dynamic plots
  3. Integration with a layout with other GUI
  4. Integration with database

I think that both libraries are ok with my requirements, but could someone tell me from his experience which one is better? Which one is easier to integrate with an app?

Jason Aller
  • 3,541
  • 28
  • 38
  • 38
jsalvador
  • 733
  • 2
  • 7
  • 18
  • 1
    For the moment I will do the dev using AndroidPlot, because it's the one with more info in the web. – jsalvador Oct 15 '11 at 10:24
  • How was your development experience? Did you have any setbacks using AndroidPlot? Did you try AChartEngine for a comparison by chance? – whyoz Apr 08 '13 at 17:13
  • Android plot was useful and easy to integrate, so for the moment I have only worked with it (I have not tried AChartEngine yet). You can easily set up basic graphs and has enough capabilities to personalize it for your apps – jsalvador Apr 09 '13 at 10:12

4 Answers4

7

I haven't look at AChartEngine but have used AndroidPlot and can relay my experience here.

I've successfully had multiple lines on my chart being updated in realtime (Req 1&2) and this chart has been embedded inside of another control (Req 3).

For Req 4, I haven't worked with a db but my guess is that you would have to write the code to do the query and update the chart yourself.

brianestey
  • 8,202
  • 5
  • 33
  • 48
6

I think AchartEngine is better because you have lots of flexibility. and it is a open source library.there is a good number community to help you out. It's a better library if you want different kind of bars in your application.

Abhijit Chakra
  • 3,201
  • 37
  • 66
5

If you want to use AChartEngine, you can get a complete example from here.

Lalit Poptani
  • 67,150
  • 23
  • 161
  • 242
  • The images shown are a little disconcerting...I would think AChartEngine supports label/axis padding? Is there something AChartEngine does that AndroidPlot doesn't? – whyoz Apr 09 '13 at 16:30
4

Looking at the usage metrics on http://appbrain.com, currently AChartEngine is used by 0.61% of the 700K applications while AndroidPlot is used by 0.17%. All the other metrics show an even higher difference in usage. Hmmmm....

http://www.appbrain.com/stats/libraries/details/achartengine

http://www.appbrain.com/stats/libraries/details/androidplot

Dan D.
  • 32,246
  • 5
  • 63
  • 79