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

GraphView y-axis label flicker and space on top with empty title?

Two questions regarding the GraphView library. 1) With manual setNumVerticalLabels set when switching from scrolling to scaling and vice versa, that the labels for my y-Axis change it's position. In scrolling mode they are closer together and in…
aaron
  • 130
  • 1
  • 5
0
votes
1 answer

Graph Without Rounded End Caps

I did managed to draw the graph that i wanted but some how I'm getting rounded end caps at the end of the graph lines. I wrote my code using the GraphView lib for a series of data using this : GraphViewSeries line1Series = new GraphViewSeries("LINE…
WoW
  • 151
  • 2
  • 10
0
votes
1 answer

Line chart in android with different colors

I have done a lot of searching on this topic but still couldn't get it working.I want to make line chart in android.how can i make exactly this(in image) type of graph.I have used a chart engine library and graph view but I could not meet my…
Akashsingla19
  • 690
  • 2
  • 8
  • 18
0
votes
1 answer

How to set Legend on graphview for particular line?

i using GraphView in my app.. that graphview have Legend option.. it's fine .. but the legend will show all the draw line in my graphview.. my code.. GraphViewSeries g1 = new GraphViewSeries("", new GraphViewSeriesStyle(Color.WHITE, 1/3),new…
Sathish Kumar J
  • 4,280
  • 1
  • 20
  • 48
0
votes
1 answer

How to set Dashed Grid in graphView?

Now i'm using LineGraphView like, GraphView graphView = new LineGraphView(this.getActivity(), "GraphView"); this draw line Grid .. but i want dashed line for graphview grid.. i am using jjoe64 graph android that is Graphview-3.1.3.jar there is…
Sathish Kumar J
  • 4,280
  • 1
  • 20
  • 48
0
votes
1 answer

How to get co-ordinates values in graphview?

i'm using GraphViewSeries g1 = new GraphViewSeries("", new GraphViewSeriesStyle(Color.WHITE, 1/3),new GraphViewData[] { new GraphViewData(-5,0d), new GraphViewData(5,0d), }); GraphViewSeries g2 = new…
Sathish Kumar J
  • 4,280
  • 1
  • 20
  • 48
0
votes
1 answer

redraw GraphView chart peridicaly

I'm new to android and now I want to write an application which show an array of 8000 double which is sin and cos signal on a chart, every 7 seconds sin chart will change to cos and vice versa. I used GraphView class to draw the chart. but I can't…
sandra
  • 949
  • 3
  • 12
  • 25
0
votes
1 answer

Android, how to combined graph using GraphView Library

I would like to create combined horizontal and scrollable graph like on the image below using GraphView library: How can i do it please? Many Thanks for any sample.
redrom
  • 11,502
  • 31
  • 157
  • 264
0
votes
2 answers

GraphView how to Display Toast near the user click point

Hello i would like to ask, how can i Display Toast near the user click point Like on image below using GraphView library: http://android-graphview.org/ Thanks for any advice EDIT: I tried it using seriesSin = new GraphViewSeries("Sinus curve", new…
redrom
  • 11,502
  • 31
  • 157
  • 264
0
votes
2 answers

Change the thickness of line chart in Android GraphView

I'm using Android GraphView for building a line chart. I find the line thickness a little too thin. Is there any way to increase the thickness? I couldn't find anything in their docs.
user3792936
  • 1
  • 1
  • 3
0
votes
1 answer

Android GraphView plot only points on graph and change X axis position

I'm trying to create a graph on android using the android graphview library. 1)I need to plot points on the graph (Currently, the options are LineGraph and BarGraph) however i wish to only plot the points without drawing a line. 2) Change the…
0
votes
1 answer

setCustomLabelFormatter doubling values in label

I got custom formatter that I found in other thread, that helps with setting strings as horizontal label. GraphViewSeries series = new GraphViewSeries(new GraphView.GraphViewData[] { new GraphView.GraphViewData(0, 14d), …
Damian Lesniak
  • 462
  • 2
  • 5
  • 19
0
votes
1 answer

Android: Open a PCM file in a new activity

I am currently developing an app for playing PCM files and displaying their resulting line graph (thanks to jjoe64 for the GraphView). My problem now is how to open a PCM file in a new activity. Basically, the app must display the line graph for the…
edjb93
  • 3
  • 3
0
votes
2 answers

Adding graphview to RelativeLayout in scrollview

I have been working with the GraphView Library. i have to add add the GraphView programmatically. when i add graph to the RelativeLayout ,if the textview fill the page it won't show the graph.but if the textview was empty or not fill the page…
Sepehr Nozaryian
  • 370
  • 4
  • 15
0
votes
1 answer

How to listen for touch events on GraphView?

I need to add behavior to my program related to the user panning / zooming the GraphView. I am attempting to register for motion events to be notified of this, so I can do something as the user is manipulating the graph via touch. I have tried…
Stealth Rabbi
  • 10,156
  • 22
  • 100
  • 176