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
2
votes
2 answers

how to ellipsize label of y-axis with bar chart using achartengine

I am very new to android Developer Especially for Graph. Now I am creating a following graph using AchartEngine library but i have following problem: Q-1. I want to Display label of left side with fixed width and remaining content with…
Pratik Butani
  • 60,504
  • 58
  • 273
  • 437
2
votes
4 answers

Could not add addView in android

I need help friends. Here is my activity public class MainActivity extends Activity { float values[] = { 700, 400, 100, 500, 600 }; float values1[] = { 70, 40, 10, 50 }; @Override public void onCreate(Bundle savedInstanceState) { …
Gunaseelan
  • 14,415
  • 11
  • 80
  • 128
2
votes
0 answers

get fixed value for android real time graph using GraphView library

I am trying to create a Real time graph view in android using GraphView library from jjoe64GraphView. Now getting a real time graph with continuously changing Y axis values. Anyone can help me for change this real time graph with fixed value Y…
user4232
  • 592
  • 1
  • 12
  • 37
1
vote
1 answer

GraphView library remove series

I have been using the Graphview library, and its working great for my simple graphs. But there isnt really much information on this library, and i was wondering how i can remove a series. I am refreshing the data from at spinner but they just add a…
NikolajSvendsen
  • 345
  • 2
  • 8
  • 16
1
vote
1 answer

How to use graphview with graphview library

I am trying to create a graph with the graphview library and create a simple graph When I included the dependency in my build.gradle, I got an error that I can't solve. build.gradle (.app) plugins { id 'com.android.application' id…
P.C
  • 19
  • 1
  • 8
1
vote
1 answer

Flutter Family Tree Creating Widget

I am searching for a Flutter plugin which can help in building a Family Tree exactly what it has to be and it needs to build dynamically from a raw JSON. I found some plugins but those are not I am expecting.
1
vote
0 answers

Different YAxis scaling for LineChart with multiple data sets (more than 2)

I need a chart with multiple lines, and each of this line needs to have its own YAxis so it could scale to the full size of rgaph view. I know how to implement this with MP Chart if I have two data sets. But I need draw on graph up to 16 different…
1
vote
0 answers

How much data can I hold in Graphview Android

I have created a graph in Android Studio using Graphview and it simply appends data to the graphview every 300ms. I was wondering how much data can I keep appending to the series until it crashes the whole app? I saw that an arraylist can hold up…
Jeff Boker
  • 803
  • 1
  • 9
  • 25
1
vote
0 answers

Problem adding multiple images in a PDF using PdfDocument

I've been trying to create a PDF with multiple images on a single page, but it only generates one image per page. I take a Bitmap from a View (GraphView) and put it in the PDF via Canvas with drawBitmap. Is there a different way to do it? The…
Elmer
  • 11
  • 3
1
vote
0 answers

How to set datelabels in Graphview (Android) exactly under the datapoint with the datevalue of the datapoint?

I am using the Graphview with a DataPoint[] from a database. The DataPoint[] has the following datapoints: [1.582381477E12/0.0] (date is 2020-02-22 14:24:37), [1.58238148E12/1.0] (date is 2020-02-22 14:24:40), [1.582381489E12/2.0] (date is…
1
vote
0 answers

Android Realtime Signal not smooth using graphview library

Iam trying to plot realtime signal from arduino to my android tablet. I've using a potentiometer for testing purpose and ADC sampling rate is 256Hz. My issue is that the graph plotted on the android app is not smooth. The serial communication is…
1
vote
1 answer

Retain old values, update new values and show animation in mpandroidchart

I have a mpandroidchart in which i am supplying new values from some source, currently as a demo i am providing data from a random number generator and running it using a runnable. It is working fine. New value gets plotted after a time duration…
user3099225
  • 413
  • 1
  • 4
  • 14
1
vote
0 answers

how to graph equations in kotlin using graphview

I have imported the GraphView library and since its documentation is in good java, it is difficult for me to transcribe it to kotlin, my goal is to graph statistical distributions and for this I have the following formula: "The goal is to graph as…
royer
  • 615
  • 1
  • 6
  • 19
1
vote
0 answers

Fix spacing for GraphView Title X-axis

Just trying to add some spacing to the X-axis title so that it's not so cluttered. Specifically the text "Time". I have already tried the padding setting as you can see. Image is here:
1
vote
0 answers

I want to take data from sql lite database and display it on a graph view using a list view that is populated by group names

i have been trying for a while to populate a graph view with data from my sql lite database. i believe i have everything needed within the code. but i do not know how to work out the onItemClick method. i have a list view of groups, i want to take…