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
-1
votes
1 answer

How to implement bar chart or bar graph like below in android

I want to implement bar chart like below where the visible range of bar chart is scrollable. Please help me out. Thanks.
-1
votes
1 answer

Unable to "findViewById" graphview

I'm trying to make a graph within a Fragment on my app and I am having an issue when I edit the graph the entire app crashes. After some investigation I realized that graphView is unable to get "graph" from the XML document public class…
-1
votes
2 answers

Create Graph from sqlite using calendar as X axis

I want to create a graph calendar versus integer. Either key in date format in the table or parse the string value to date. import android.database.Cursor; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import…
-1
votes
1 answer

Converting date and time back to millis

I want to plot a graph using graphView , value vs Time. I have value as integer but I have strings for date and time. So, to plot the graph I should be having both values and (date and time) in integral format. So, what should I do to plot the…
Love Babbar
  • 161
  • 4
  • 12
-1
votes
1 answer

How to break graphview datapoint to get value of Y axis only?

I want to break the dataPoint to get only values of Y axis. right now the result i get when my code runs is : Diastolic Reading: [25.0/89.0] mmHg however i want to display it as: Diastolic Reading: 89.0 mmHg series_D.setOnDataPointTapListener(new…
Pohur
  • 5
  • 1
  • 7
-1
votes
1 answer

Couldn't read row 0, col -1 from CursorWindow

I am having trouble trying get a graph working in my app but I don't know where i'm going wrong with this code. The code builds but crashes selecting the activity. I think I may have structured it incorrectly as I may be trying create a graph before…
Baku Yan
  • 11
  • 2
-1
votes
2 answers

Error in jjoe64 GraphView Library

someone can help me? I found this error and I can't find the resolution to my problem. This is the Android Error: 09-15 18:26:47.434 3096-3096/com.example.user.navigationdrawer E/AndroidRuntime: FATAL EXCEPTION: main Process:…
-1
votes
2 answers

ArrayList in Graphiew

I have two double ArrayList (ArrayList) how can I pass these arrayLists to GraphView to draw my linear chart? for limited points we can use these codes : GraphView graph = (GraphView) findViewById(R.id.graph); LineGraphSeries series = new…
-1
votes
1 answer

Use images as data points in line graph - Android

I am new to Android Development and I have to make line graph. The graph I am trying to make is very customized i.e. using images as the data point. There are lots of open source libraries but I cant use images as data points and they should be…
Basit Ali
  • 81
  • 10
-1
votes
1 answer

how to get display independent distance between two touch coordinates?

I am making multitouch based android app. In the app I am finding distance between two touch coordinates.The Distance between two touch coordinates are same on different devices, but devices show different distance. Devices A shows 89.0123. Device B…
-1
votes
1 answer

Android graphview live data

I am using the graphview library on Android. I need real time / live data. the normal data example works fine, now I want to extend it that on the push of a button I get new data points public void onClickButton(View v) { GraphViewData g =…
AndyAndroid
  • 4,039
  • 14
  • 44
  • 71
-1
votes
1 answer

graph using Android GraphView

Did someone know how to make graph something like this: link on Android using Android GraphView? And can send me a example code? I trying but I do not know how to print valid x values, I am got only this, on picture. Tnx.
mrakodol
  • 1,143
  • 3
  • 12
  • 41
-2
votes
1 answer

How to use an input array for drawing a graph in GraphView Library?

I am developing an Android application,which can take audio input from device mic and generate a graph in real time as an output.For generating a Graph on a view I am using GraphView library. I am trying to convert a .wav audio file into an…
Adib
  • 11
  • 3
-2
votes
1 answer

Android Horizontal Graph Matrix (see atached design)

I try MPChart Android Library but unable to create this type of layout . There are 1-24 are fixed and 5 type of hours fix, only we have to set data for these 5 hours. Please see this image and help me for the solution enter image description here
-2
votes
1 answer

How to print graph without excess lines

I use graphview library on my android project. I made a graph, but i want to remove this lines i marked them with black
GerrDott
  • 13
  • 5
1 2 3
30
31