Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Graphs API for Android [closed]

Tags:

java

android

xml

Is there a good way of dynamically displaying graphs in an Android application. Is there a tool for it?

like image 276
Assim Avatar asked Jul 24 '11 11:07

Assim


People also ask

Can we use API in Android Studio?

Enable the Android Performance Parameters API on the project you selected. If it has not been enabled, click ENABLE. Select the Credentials tab on the left. If the project does not have an existing API key, click CREATE CREDENTIALS and select API Key.

What is Facebook's Graph API?

The Graph API is the primary way to get data into and out of the Facebook platform. It's an HTTP-based API that apps can use to programmatically query data, post new stories, manage ads, upload photos, and perform a wide variety of other tasks.

Is API an android?

API Level is an integer value that uniquely identifies the framework API revision offered by a version of the Android platform. The Android platform provides a framework API that applications can use to interact with the underlying Android system. The framework API consists of: A core set of packages and classes.


1 Answers

There are many opinions to do graphing. If you want static graphing you can use these API's/code samples.

  • AChartEngine
  • Draw a Graph
  • Charts4j
  • AndroidPlot - one of the best looking ones, does dynamic plots too and is now open sourced.
  • TeeChart

So many others to choose from but most are static and non of these can handle real time data plots, i.e. ECG wave forms. One example you might want to look at is the Tricorder android example. Problem it is really complex to setup and if you just want the graphs, there is so much code to rip out. It can be done but I even noticed there is a lag the longer you run the program.

So far the only way I have found a real good dynamic graphing, is to do it yourself and use the SurfaceView and then draw usin the path.lineTo() see below for previous SO answer for this solution.

SO example

like image 50
JPM Avatar answered Oct 08 '22 01:10

JPM