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

incorrect display GraphView(android)

Sorry for my English. I do not know why I did not properly displays a message GraphView. Now in the graph below displays constantly 1,1,1,1 ... Though would have 1,2,3,4 ...And evaluation are all 1. A shows the graph as 10. Why is it, tell me…
asdascascaedfa
  • 137
  • 4
  • 11
0
votes
2 answers

GraphView: rotating horizontal date labels, specifying a fixed size of the viewport and aligning the bullet points with the date labels

This is a 3 part question. 1) First, is it possible to rotate the horizontal X values. Currently when I am trying to display all the days in a month on the X axis (4/1/2015, 4/2/2015, etc...) they will all bunch up and become unreadable. Is there a…
koala123
  • 13
  • 1
  • 5
0
votes
1 answer

How to move the graph viewport when adding time-based items to a series at runtime?

I'm trying to create a graph with displays the last n seconds of data arriving by bluetooth. I want to add to the series from within a timer by adding a DataPoint with a Date as X value. All I get is a white screen. I think that the problem lies…
paul
  • 13,312
  • 23
  • 81
  • 144
0
votes
2 answers

how to show null graph

I am using jjoe64 Graph View in my android application. and I am trying to show dynamic values in graph but first time it contains no values but graph is not appearing. give me solution.…
0
votes
1 answer

Draw a line graph with constantly updating data?

I'm trying to use Android Graph view to draw two line graphs, that's not a problem but unfortunately one of the line graphs is dynamically reading data from a hardware sensor. That does appear to be a problem as GraphView uses fixed length arrays.…
jwhitmore
  • 203
  • 1
  • 2
  • 8
0
votes
2 answers

Add space between graph and tick labels in GraphView?

I am trying out the GraphView Library for creating charts on Android. It looks quite decent, but I am wondering if there is a way to add some space between the tick labels and the graph itself. As you can see, there is basically none: I use the…
shawkinaw
  • 3,190
  • 2
  • 27
  • 30
0
votes
1 answer

No labels for specifics values

Is there any way to set no label for specifics values ? I explain : I have a GraphView for which Y values cannot be higher than 3. And I only want verticals labels for the values 1, 2 and 3. I tried to use the following method…
Alexandre D.
  • 711
  • 1
  • 9
  • 28
0
votes
1 answer

Android reading and graphing data from text file using GraphView

In my android application, I am attempting to read from a text file containing data points which I wish to graph. The number of data points in each file is expected to be anywhere between 24,000 to 150,000. Currently, I have implemented an…
oruok
  • 1
  • 2
0
votes
1 answer

Can Y Axis on GraphView in eclipse be set to 2 decimal places

GraphViewData[] data = new GraphViewData[numElements]; for (int c = 0; c
0
votes
3 answers

GraphView is not updated when new data is added

I have a GraphView that is not updated when new data is added, it changes the Y value to accommodate for the new data, but it doesn't draw them, here is the code: public class MainActivity extends Activity { double data = 1; double xgraph =…
maxiu
  • 3
  • 6
0
votes
1 answer

Adding data to GraphViewSeries

I have a working app using Graphview in Android Studio. API 18 using com.jjoe64:graphview:3.1.3 When I try to add data that has (x(I+1) b- x(I)) < 0 the app crashes with "Unfortunately. app has stopped. Is this a bug or are negative deltaX not…
dnlblack
  • 3
  • 2
0
votes
1 answer

How to provide GraphViewDataInterface as a input to method in graphview

I am trying to add a graph to my project for that purpose I am using GraphView library. My issue here is in one of the methods drawseries expecting an interface (GraphViewDataInterface) which I am confused on how to provide as a input. draw series…
Siva
  • 9,043
  • 12
  • 40
  • 63
0
votes
1 answer

Adding buttons below GraphView, all inside a Fragment

I have been trying to add Button's below a GraphView, and all these elements are part of a Fragment. Tried many approaches but none of them worked properly. This is the layout file for the Fragment (fragment_graph.xml).
0
votes
1 answer

Bar graph with GraphView

I know I must be missing something obvious, but I can't see how to display a bar graph rather than a line graph. I've set up the data using GraphViewSeries. The data all looks correct, but I don't see an option on GraphViewStyle to change the style…
nonprof
  • 3
  • 2
0
votes
1 answer

GraphView - graphviewseries null

my grapviewseries seems to be always null even though i have values inside my graphhviewdata This is my code here : GraphViewData []graphViewData = new GraphViewData[1000] ; for (int i = 0; i < listprice.size(); i++) { …
EggRollMan
  • 583
  • 1
  • 8
  • 20