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

How to plot chart in GraphView with no background?

How to make graphview background completely blank, not even show x axis and y axis. couldn't find anything on web
abh22ishek
  • 2,631
  • 4
  • 27
  • 47
10
votes
4 answers

Using dates with the Graphview library

I'm using GraphView library (see: https://github.com/jjoe64/GraphView or http://www.jjoe64.com/p/graphview-library.html) But I would like to use Date/Time for the X-as. Does anyone knows a easy way to accomplish this or can anyone push me in the…
Luciano
  • 2,691
  • 4
  • 38
  • 64
7
votes
1 answer

MPAndroidChart - Linechart - shrink part of the graph with no X values

Is it possible to do something like this: ? I have in the app LineChart with the time values (seconds) on X axis and temperature on Y axis. And it's possible that I don't have a data for some bigger time interval (day and more for example) and it…
Pepa Zapletal
  • 2,879
  • 3
  • 39
  • 69
7
votes
5 answers

android graph-view y axis numbers being cut out

When trying to create a line graph with the graph-view library in android studio part of the numbers on the vertical line are being cut out.Does anybody know how to fix this?
Noah bouma
  • 102
  • 1
  • 6
7
votes
0 answers

Android GraphView Realtime app lags

I'm using GraphView in Android to plot realtime data (ECG), received from Bluetooth (BLE) connected sensor. After a while (5-10 sec = 500-1000 points) the application becomes extremely slow and laggy. The output data rate of the sensor is 100Hz and…
6
votes
1 answer

GraphView change x and y axis ranges

I have a line graph that I add data to each time the user enters a number. The user enters a number 50 times, so I want the x axis to range from 1 to 50 in increments of 1. On the y axis, I want it to range from 2 - 15 (user enters a number between…
Brejuro
  • 3,421
  • 8
  • 34
  • 61
6
votes
1 answer

Smooth Line graph in Android GraphView

It is possible to make line graph more smooth? If my data have not much points on graph?
Anton Nikitin
  • 197
  • 1
  • 10
6
votes
4 answers

How to integrate GraphView into my project?

So I was looking for a graph solution for my app and I stumbled on GraphView. I was looking around on the github and in the source files and I can't seem to find an integration guide. Maybe it's right in front of my face but I can't see it…
scarhand
  • 4,269
  • 23
  • 63
  • 92
5
votes
2 answers

Custom x-axis labelling in MPAndroid Chart

I want the x-axis labelling to be as shown in the above picture. I have tried using the AxisValueFormatter interface but what it does is repeat the label 'jh ow' 3 times from 0 to 1, while missing out some of the labels shown here. This is the…
Aryan Raj
  • 134
  • 10
5
votes
3 answers

How to make Grid Lines invisible in Android GraphView?

I just want to show only X Y axes and labels on these axes and don't want to show grid lines in Android GraphView. How can I do that? Thanks in advance.
Red Devil
  • 61
  • 1
  • 7
4
votes
1 answer

AndroidPlot: How i can change the domain data?

I use actually the AndroidPlot library to use a simple chart in my android project but I don't know how i can change the values of domain zone. More specific, this line: mySimpleXYPlot.setDomainValueFormat(new DecimalFormat("#")); In the web site…
fmgh
  • 168
  • 4
  • 14
4
votes
0 answers

Obtain bitmap from GraphView withou displaying the GraphView

I will try to explain what I need to do. I have to print several (10) graphics in a screen and as an image is more useful for what I need to do, I need to convert the GraphView for each graph into a Bitmap. What I am doing now is printing the…
nlopez
  • 351
  • 1
  • 13
4
votes
1 answer

JJOE64 Android graphview set LineGraphSeries Dynamically

Hi I am trying to draw a chart with this library but its entries static like: LineGraphSeries series = new LineGraphSeries(new DataPoint[] { new DataPoint(0, 1), new DataPoint(1,…
mesopotamia
  • 393
  • 1
  • 5
  • 19
4
votes
0 answers

Android GraphView library - Scale and Scroll doesn't work on little X Date increments (seconds)

I'm using GraphView library (see: https://github.com/jjoe64/GraphView or http://www.jjoe64.com/p/graphview-library.html). Working with GraphView-Demos-master, I modify "public class DateAsXAxis .." for little increments in date for seconds and not…
OSR
  • 41
  • 1
4
votes
1 answer

GraphView, how to show x-axis label?

I'm trying to plot graph using GraphView library. My problem is, the x-axis does not show up but the y-axis can. Besides, the value at the x-axis label also not showing up. Here is my xml file:
Tuss
  • 935
  • 1
  • 8
  • 14
1
2 3
30 31