Questions tagged [android-graphview]

GraphView is a library for Android to programmatically create flexible and nice-looking diagrams.

GraphView is a library for Android to programmatically create flexible and nice-looking diagrams. It is easy to understand, to integrate and to customize it. At the moment there are three different types:

  • Line Charts
  • Bar Charts
  • Point Charts

Resources:

Exported .jar lib - https://github.com/jjoe64/GraphView/blob/master/public/graphview-3.1.jar?raw=true

GitGub Project Page - https://github.com/jjoe64/GraphView

Examples - https://github.com/jjoe64/GraphView-Demos

Website - http://www.android-graphview.org/

The library is compatible from android 1.6 - 5.0. More can be found on the project homepage.

454 questions
0
votes
0 answers

GraphView Android

I am not sure if I am missing something conceptually or if there is an error in one of my methods, but I have debugged this activity for quite some time and I must be overlooking something huge. At the end of my onCreate, I instantiate an ASyncTask…
Jack Ryan
  • 1,287
  • 12
  • 26
0
votes
1 answer

Graphs in Android: aChartEngine vs GraphView

I am developing an app for health gadget and this point I need to be able to draw graphs. Data is continuously received via Bluetooth and the graph should look similar to cardiograph one with a continuous smooth update when new data is received. I…
0
votes
1 answer

Is there any option in Graph View to sort data before viewing?

I am getting this error. Process: com.peacecorps.malaria, PID: 3721 java.lang.IllegalArgumentException: The order of the values is not correct. X-Values have to be ordered ASC. First the lowest x value and at least the highest x value. …
ankittie
  • 307
  • 3
  • 4
0
votes
1 answer

Unexpected behavior of same methods in different threads

My initial question was: Android GraphView project get freeze with real time updates. In this one I was asking about possible concurrency in UI thread of 3 plots. On memory allocation plot it looks like this: I was receiving data directly from my…
sebap123
  • 2,541
  • 6
  • 45
  • 81
0
votes
1 answer

JJOE64 Android graphview reset function

I've been trying to make a "realtime" graph using the reset function to reset the data, trying to prepare myself for using an external dataset. Here's the code; class MyTimerTask extends TimerTask { int y = 0; public void run() { …
0
votes
0 answers

I want to show data used by device in real time in Graph View in Android

I want to show data used by device in real time in Graph View in Android. Data should be shown in grapview. Plz provide code if any have. I am using this code in the Graph Class but at the Runtime its…
Chaudhary Amar
  • 836
  • 8
  • 20
0
votes
2 answers

Android - Get GraphView datapoint x y location

I'm using jjoe64's awesome GraphView for Android. At the moment I'm trying to determine 2 things: Is it possible, once plotted, to get a DataPoint's x,y location values? Also, is it possible to get that location in the onTap call? I'm trying to…
Warblr
  • 1,188
  • 1
  • 13
  • 27
0
votes
0 answers

Real time data to string/Data Point

I'm working on an Android project where the subject is to develop an android application to gather data from an external sensor (phidgets) and then generate a graphic representation using graphview or similar. The question i would like to expose is…
bobyzano
  • 1
  • 1
0
votes
2 answers

Draw line progressively in android

I found some code to draw line and now i wand drawing line progressively so that i cloud see it being drawn. This is the code import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import…
Majid
  • 519
  • 1
  • 9
  • 21
0
votes
0 answers

Dynamic Bar Graph Using AchartEngine Library

In The Above Screen Shot You Can See the First Bar and its corresponding value is cutting from left.I want To put some Margin from left so the first bar will fit in the screen along with its value. I have tried a lot but not able to do…
Naveen Kumar Mishra
  • 321
  • 1
  • 3
  • 16
0
votes
2 answers

android graph view laggy on huge data

I wanted to plot real time data via http://www.android-graphview.org/ for data acquired in a Bluetooth thread. Thread code: InputStream tmpIn = mSocket.getInputStream(); while (true) { …
Lukasstr
  • 435
  • 2
  • 19
0
votes
3 answers

Plotting Real time Data (from a sensor) in reverse X-axis direction (from x=6000 to x=1000) in Android App

I tried using the Achart Engine and then GraphView to plot data coming from a sensor (real time, live updating) in opposite x-axis direction. I am doing it this way since I want to plot the Magnitude (y) in function of Frequency (x) and I am…
0
votes
1 answer

Different color for different point for android graphview

I've downloaded android-graphview which is a great library, but I think it have a missing features (which i need). I need to set different color for different point, in a LineGraphSeries. I can only set color for line and background... int quanti =…
D Ferra
  • 1,223
  • 3
  • 12
  • 21
0
votes
2 answers

Graphview legend position

I can place the legend top, middle, bottom, but its always on the right side of the graphview. How can I place it left side? The most important problem that "too long" texts doesn't fit in the box, so the end of the text is outside the box / screen.…
Arklur
  • 173
  • 1
  • 11
0
votes
1 answer

Using Graph View to create graph which the scale is upside down

I am using the Graph View library to plot graph in Android. I would like to plot a audiogram. Anyone know how to make the Y axis growing downwards and also set the horizontal title above the graph?