pa1pal
pa1pal

Reputation: 753

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

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

Which library will be perfect for this ?

Upvotes: 10

Views: 20832

Answers (1)

clay_to_n
clay_to_n

Reputation: 583

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.

UPDATE 2: MPAndroidChart does NOT support live graphing according to the official page:

MPAndroidChart is free software, as a result dynamic & realtime data is not officially supported.

Upvotes: 15

Related Questions