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

Set text on Lagna chart

I required to implement a Astrology App where the user can check there Horoscope chart. I am calling Vedic Rishi API. I want to put the result on Lagna Chart where the data will come according to the user DOB, so please tell me exact what should I…
Paramjeet Singh
  • 145
  • 1
  • 3
  • 15
1
vote
0 answers

Android App Development - Library android-graphview

I am having a problem with visualization of time series data on graph view library in android studio. When I am trying to plot my graph against very small values(in the intervals of 0.00003) on x-axis, there is no graph. However, when I am try to…
1
vote
1 answer

Android Graphview - Append Data

I´m not very good at programming, but I need to build an App where you can type in Datapoints and after clicking a button the datapoint should be added to a graph. I started with a bar graph and it works, but for some reason the labels are in…
JenMar
  • 11
  • 3
1
vote
1 answer

Graphview : Display Arraylist as X axis label

I am using GraphView to plot a data from firebase database. What i want to achieve is display tmpHr as y value, with Timestamp as the label in x axis. I have retrieved the data from firebase, and I have successfully plotted the tmpHr in y axis. I…
1
vote
0 answers

while writing data to the graph in a Graphview getting some the extra line. how can i solve it?

I'm trying to plot the data in a GraphView while plotting I'm getting some extra line starting of the graph. Ihe package I'm using com.jjoe64.graphview.GraphView My code is : public class ABIModeActivity extends AppCompatActivity { private…
1
vote
1 answer

linear graphView without sorting arraylist

I am getting the following exception 04-30 09:51:09.203 30599-30599/com.example.saadm.bitcoinwatcher E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.saadm.bitcoinwatcher, PID: 30599 java.lang.IllegalArgumentException: The order of the…
Saad Malhas
  • 19
  • 1
  • 10
1
vote
1 answer

How can I set a graph to infinity?

I found example "How to create plot with GraphView". And modifided for my task. Task is next : "Construct graph for y = ax + b". But how can I set the graph to infinity? Or how can I limit Viewport? I just want to cut the edges of the graph. That…
1
vote
1 answer

Redraw GraphView after scale change

I'm working on an app that uses GraphView. Users can scale the graph (zoom in, zoom out), and they can use a 'reset zoom' button to reset to the default view they get when they open the graph. I got it working, but the graph doesn't update when I…
Nihilish
  • 105
  • 1
  • 16
1
vote
1 answer

Candle Stick MP Chart android is not setting the candle stick size

I am creating a CandleStick chart from API: https://min-api.cryptocompare.com/data/histoday?fsym=BTC&tsym=USD&limit=10 Using Library: https://github.com/PhilJay/MPAndroidChart When I creating the chart with the count of values as X-axis, There…
Afinas EM
  • 2,755
  • 1
  • 15
  • 28
1
vote
1 answer

Android Graph View auto scrollable Line Graph

I have created a line graph using Grap View and I am able to scroll it manually right and left but I am unable to set it to scroll automatically. So far I haven't found any thread in which someone would try this so I am wondering if Graph View even…
Richard
  • 1,087
  • 18
  • 52
1
vote
1 answer

DataPoint [] does not accept float variables

I was trying to make a graph based on the two array values, i.e conc and optical density. I have created two activities for saving those arrays and pass the array list using bundle and intent to the third activity using string. Whenever I try to…
Lokesh Sharma
  • 13
  • 1
  • 3
1
vote
1 answer

graphview too many labels

I'm trying to build a realtime graph from data that updates every two seconds. If I use doubles as x-axis label there is no problem. However, using a custom DateFormatter to label the graph thausands of labels are shown, even if I set the number of…
lukasg
  • 11
  • 4
1
vote
0 answers

Graph View Y axis bar & line series value not completely showing on y axis top

I am new in coding so apologise in mistakes.... I am working with the GraphView github code. I need to create line and Bar combine into a graph. here I want the max value from line and bar series show on the top of y axis. Currently it not showing…
Devil
  • 314
  • 3
  • 13
1
vote
1 answer

How to add series of DataPoint in the GraphView Library?

ChartsActivity.kt import android.support.v7.app.AppCompatActivity import com.jjoe64.graphview.series.DataPoint import com.jjoe64.graphview.series.LineGraphSeries import kotlinx.android.synthetic.main.activity_charts.* class ChartsActivity :…
Rahul Bali
  • 692
  • 10
  • 28
1
vote
2 answers

how to plot a graph with a CSV file?

I want to plot a diagram in android with GraphView library http://www.android-graphview.org/ . but the number of points of diagram is more than 12000 and it isn't possible to add all single points manually. my data saved in storage (with custom…
m.rajabi
  • 37
  • 1
  • 7