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

OnTouch Event To Show Precise X,Y Values

Is it possible to display a label using the X and Y values for each critical point? Like this.
Jieqin
  • 588
  • 5
  • 21
0
votes
2 answers

draw a chart with GraphView

Anyone having some experience with the GraphView library? I need to draw a chart, the closest approximation is something like that damage/distance chart on Battlelog: So as assumed here, 0 - 9m the damage would be constant, then falling down and…
Droidman
  • 11,485
  • 17
  • 93
  • 141
0
votes
1 answer

Unknown IllegalArgumentException text cannot be null

I'm receiving a weird IAE during one of my activities. 08-13 16:24:59.991: E/AndroidRuntime(924): FATAL EXCEPTION: main 08-13 16:24:59.991: E/AndroidRuntime(924): java.lang.IllegalArgumentException: text cannot be null 08-13 16:24:59.991:…
0
votes
1 answer

Android run time error stating that unable find in manifesto file but I it was added

Hi I am trying to run an android app. Where my goal was to display a radar graph based on user preferences for that I have used the webview and sending the username to php file. But Now I was getting an error stating that…
user2614247
  • 75
  • 2
  • 10
0
votes
1 answer

Plotting (X,Y) coordinates using graphView

I have been using GraphView library for my project and it has been working fine for everything except for one graph - which needs to plot (X,Y) coordinates.It plots everything but wherever the x coordinate is negative, it doesn't show anything on…
Arjun
  • 1
  • 1
0
votes
1 answer

A stacked bar graph in android in simplest way in android

i want to make a stacked graph as shown below image in android without using AchartEngine
jigar
  • 1,571
  • 6
  • 23
  • 46
0
votes
4 answers

Graph/Plots on ANDROID

I am new to android and trying to learn creation or plotting of graphs in android. I've come across 2 libraries: GraphView AndroidPlot. My intent would be to receive some sound file and plot it on a graph. So, for this purpose which library would…
user2537915
  • 11
  • 1
  • 3
0
votes
1 answer

GraphView not refreshing unless view is touched?

I'm working with jjoe64's GraphView project but I am having issues when adding data on the fly. I'm trying to plot microphone volumes on a line graph but the graph refuses to update. Here's what I have: @Override protected void onCreate(Bundle…
Corey Ogburn
  • 24,072
  • 31
  • 113
  • 188
0
votes
2 answers

How should i use a jar library in my android layout?

I make the jar library in my code successfully, but in my xml file it calls 06-08 18:55:23.715: E/AndroidRuntime(13218): java.lang.RuntimeException: Unable to start activity ComponentInfo: android.view.InflateException: Binary XML file line #6:…
0
votes
1 answer

Runnable and postdelayed in android 4.0 (GraphView Library for real time)

Im using the GraphView Library to visualize real time graphs. The library example works fine in 2.X android devices, however it doesnt work properly in 4.X devices. The graph only get refreshed when I click the screen. Im newbie in Android but I…
Rafag
  • 719
  • 3
  • 11
  • 27
0
votes
1 answer

Stop Android Graph View from rounding the x-axis

I'm using graph view in my project and got it working just fine. However I don't like the x-axis values. The values I'm passing are 0,0.5,1,1.5,2,2.5...all the way to 23.5. I would like the graph to show every x-axis value on the grid and not…
jymbo
  • 1,335
  • 1
  • 15
  • 26
0
votes
1 answer

how to make linechart using Graphview library

i want to make a linechart using Graphview library that i taken from http://www.jjoe64.com/p/graphview-library.html my problem is i want to take data from JSON as bellow : [ { "lji_invest": "Excellink Aggressive Fund", "persen_hke1": 0, …
Aoyama Nanami
  • 2,532
  • 9
  • 32
  • 50
0
votes
1 answer

JJOE64 GraphView Library

Hi i'm trying to use GraphView library by JJOE64, i imported the .jar file in my project using eclipse "Add external archives". I created a new GrapVew Object package com.example.graphtest; import android.os.Bundle; import…
Cezar Sas
  • 306
  • 3
  • 14
0
votes
1 answer

GraphView Axis Problems

I am using the GraphView library( Info Source ), and am having trouble with my re-labeling axis. The way my xml file is set up, I have an upper view for the graph then six check boxes below the graph. Each check box represents a different line which…
JuiCe
  • 4,132
  • 16
  • 68
  • 119
-1
votes
1 answer

Why does java.lang.IllegalArgumentException error appear when order of values is correct?

I am a student currently in my second year of A-level computer science. I have coursework project and I decided to make a fitness app using Android Studio and I have an error which I can't solve and don't understand why it is happening. The error is…