How to plot real time sensor values in Graph in android?

pa1pal picture pa1pal · Mar 19, 2015 · Viewed 15.4k times · Source

I want to plot the graph of sensors value in android app.

Which library will be perfect for this ?

Answer

clay_to_n picture clay_to_n · Mar 19, 2015

There are a few different graphing libraries available for Android.

For my own app, I'm currently live-plotting sensor data using Android GraphView. It runs smoothly, and is quite customizable. The screenshots on the site look basic, but you can change it to fit your design.

I'm probably going to start using MPAndroidChart soon as well. It looks very good and is quite customizable, but I'm not sure if it supports live graphing like GraphView does.

Here's a list of other Android graphing libraries I found on Google: https://android-arsenal.com/tag/40

UPDATE: MPAndroidChart does support live graphing. I've moved to that, and would recommend it. It has good docs for newcomers.