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

GraphViewSeries Constructor not defined

I am trying to display a graph using graphview. I get the error: "The constructor GraphViewSeries(String, int, GraphView.GraphViewData[]) is undefined" This is part of what I have: import com.jjoe64.graphview.GraphView; import…
0
votes
1 answer

Is that possible to create negative bar chart using GraphView library in Android?

I'm looking library that allow to build bar charts with negative values like on picture below. I tried already AndroidPlot(impossible to achieve this on version 0.6.0) and GraphView(look like impossible, actually i get same result as in…
bgplaya
  • 1,105
  • 15
  • 27
0
votes
1 answer

GraphView in Runnable graphing a singular line

I have a GraphView from the following GitHub library. When I use their demonstration of GraphView RealTimeGraph, I get it all to work fine and dandy except for one caveat. It is drawing a line based off of all previous data. I.e. it is finding a…
Timothy Frisch
  • 2,995
  • 2
  • 30
  • 64
0
votes
1 answer

Android GraphView setGridStyle() method not found

I am using the GraphView component available here: http://android-graphview.org/ As per their documentation, such method should exist: graphView.getGraphViewStyle().setGridStyle(GridStyle.HORIZONTAL); to change the style of the grid. However i…
Adrian Olar
  • 2,883
  • 4
  • 35
  • 63
0
votes
1 answer

Fix (freeze) y axis for Android GraphView package

I need a way to fix the y axis for the graph view package. I am showing real time frequency spectra but it is not possible to visualise the data properly as the y axis adjusts to the current largest value. Please advise. I will offer a bounty to any…
Keir Simmons
  • 1,634
  • 7
  • 21
  • 37
0
votes
1 answer

Multiple GraphView scroll

I have to place few separate live charts in Activity, that will have a common X axis. I want to implement the next functionality: when I scroll one of the charts the other will be scrolled too. How can I implement this ? Thanks a lot, and excuse me…
s0ld13r
  • 775
  • 6
  • 9
0
votes
1 answer

Time Labels in GraphView

I posted a question earlier regarding using the CustomFormatLabeler in the GraphView library to display time as the x-labels (https://stackoverflow.com/questions/21567853/using-customlabelformatter-to-display-time-in-x-axis). I still can't find a…
user2218339
  • 103
  • 4
0
votes
1 answer

Using graphview and jsoup together (android)

I'm using Jsoup to get some weather data from wunderground.com and I want to plot it using the Graphview library for android. However, When I start my app, the weather data (via Jsoup) takes a few seconds to load since it's being scraped off the…
0
votes
1 answer

android: GraphView background doesnt draw properly

Im trying to implement a background with graphview library. Everything works fine except when the graph background is not drawn properly. Ive modified the library a little but the unmodified one also gives me the same problem. Please help Thanks,…
Sahil Lombar
  • 145
  • 1
  • 11
0
votes
1 answer

Android Graph Coordinatesystem

I am trying to implement a graph view in my android app. It should be able to enter a function. (eg.: f(x1) = x², or f(x) = sin(x) + 5) For that i will need a coordinate system where i can later draw my function after calculating about 50 points. It…
zFr3eak
  • 235
  • 1
  • 6
  • 21
0
votes
1 answer

Android GraphView 3.1 Shifting Vertical Origo Up/Down

I am developing an Android app that plots the gyroscope sensor input in a graph with the GraphView 3.1 library. The data that I am feeding the GraphView is values between -90 and 90. Due to that I want the graph to show both positive and negative…
Tim Hansson
  • 309
  • 2
  • 16
0
votes
0 answers

GraphViewSeries.appendData only draws the latest value

I tried to build a simple app that uses jjoe64's GraphView library to draw the real time value of accelerometers. I've already done the accelerometer's value reading part, now I just met a little problem with putting these values onto graph in…
dumbfingers
  • 7,001
  • 5
  • 54
  • 80
0
votes
1 answer

android graphview touch event

I was finally able to get android GraphView up and running. However when I try to scroll or zoom nothing happens. I've tried using ScrollView, LinearLayout, and a host of others. I'm currently loading the graph in a DialogFragment. package…
Craig
  • 31
  • 7
0
votes
1 answer

Android GraphView Library in android

I am new to android , I used GraphView library to draw a BarGraph it looks ok but the problem is that the horizontal labels does not matches with the bar and the width of bars is too small as compared to labels. Yes i have used the…
Irshad A Khan
  • 141
  • 1
  • 11
0
votes
1 answer

GraphView android: strange behavior of graph

there's something wrong with my graphview first attempt code: GraphView graphView; GraphViewSeries series; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
giozh
  • 9,868
  • 30
  • 102
  • 183