An Android API for creating dynamic and static charts.
Questions tagged [androidplot]
352 questions
1
vote
1 answer
AndroidPlot change color of an specific point in plot
I've been searching for an answer for this but since i couldn't find any, i'll post the question.
I have a plot drawn, with a list below showing some data, one of the parameters of each row is drawn in the plot.
I'm trying to change the color of…

Rafael González
- 23
- 5
1
vote
1 answer
How do I properly size a plot on Lollipop using AndroidPlot?
I'm using AndroidPlot to graph data on an app I'm making.
We recently upgraded from ICS to LOLLIPOP and noticed that the graphs are sized improperly.
ICS (Appearing correctly):
LOLLIPOP (Appearing incorrectly):
I'm using the exact same code for…

Scott
- 147
- 1
- 4
- 11
1
vote
1 answer
TextLabelWidget AndroidPlot get position
I am setting an onTouchListener to the XYPlot like in the AndroidPlot example application.
I want to know when the user touches the x domain title, y domain title, or the general title. There is no getRect() function for the class TextLabelWidget,…

ginsengtang
- 751
- 1
- 7
- 17
1
vote
1 answer
Varying Bar Widths Using AndroidPlot
Using the android plot library and am struggling with how to get the bars on the plot to the same size. For some reason the first one of the series appears wider than the rest. See image for example.
As you can see the domain labels are position…

StuStirling
- 15,601
- 23
- 93
- 150
1
vote
1 answer
How to display X and Y axis for XYPlot in AndroidPlot
Background
I'm developing an app for Android that plots data as a line graph using AndroidPlot. Because of the nature of the data, it's important that it be pannable and zoomable. I'm using AndroidPlot's sample code on bitbucket for panning and…

Nathan Vance
- 605
- 1
- 5
- 21
1
vote
2 answers
Passing Number[] array through Intent
i am struggling on passing an array from one activity to another. In my MainActivity i build an array similar to this:
Number[] s1 = {1, 8, 5, 2, 7, 4};
The reason i need it in that format, is to graph those points using androidplot in the other…

danny
- 15
- 2
1
vote
1 answer
Androidplot - when does the gridRect is measured?
I'm using androidplot to display a fixed-sized graph, which I've setted up a BitmapShader to match each Range interval and I need to set this shader to be always displayed on the graph, since it's beginning.
My problem is:
I can't intialize the…

Davi S.
- 111
- 9
1
vote
0 answers
accomplishing plot of large set of DataPoints in a graph using AndroidPlot
I am new to AndroidPlot. I am trying to plot a graph as described below using AndroidPlot.
Data to my graph: (This operation is done on background thread)
Continuously getting data from microphone with sampling freq =22050 No of Samples =…

dev
- 11
- 3
1
vote
1 answer
how to know which parameters to define in androidPlot xml layout file
I am going through quickstart for androidPlot. http://androidplot.com/docs/quickstart/
In the example simple_xy_plot_example.xml layout file is defined with parameters such as
androidPlot.titleWidget.labelPaint.textSize="@dimen/title_font_size"
…

user2661518
- 2,677
- 9
- 42
- 79
1
vote
0 answers
How to make simple Bar Chart based on AndroidPlot?
I already figure several changes on android plot examples given from its website. But i'm still unable to make the Bar Chart become similar to the picture below:
Does anyone has a clear Idea which part that I forgot?
Here is my code:
private void…

gumuruh
- 2,544
- 4
- 33
- 56
1
vote
2 answers
XYPlot (AndroidPlot library) in ScrollView does not appear
I am trying to put XYPlot (from AndroidPlot library http://androidplot.com/) in ScrollView container, because there will be more stuff in this Activity. Unfortunately all I am getting back is blank space, where the chart should appear (when I remove…

akoz
- 371
- 3
- 14
1
vote
1 answer
stacked bar and line chart in same graph with any android library?
Its been almost two days m struggling to use compound graph with following features:-
graph with stacked bar and line chart together.
Two y-axis (one at right and other at left) with differnt data set.
Tooltip that display current touched…

Balwinder SIngh
- 1,831
- 2
- 24
- 28
1
vote
1 answer
Android Graph with irregular X axis values
I have tried to see if I can do this on AndroidPlot, HelloCharts and MPAndroidChart.
I have a Weight Management App and want to show a chart of how weight has changed over time.
I've just started looking at this and am falling at the first hurdle…

RobT
- 361
- 2
- 3
- 16
1
vote
0 answers
AndroidPlot background image/shader offset
I've encountered something annoying with the background shader used as a background image: there is a width mismatch even after correcting the position offset.
A minimal project is available here: http://ge.tt/6UonbQ42/v/0
Here is a screenshot of…

Ploppe
- 451
- 1
- 4
- 12
1
vote
1 answer
AndroidPlot graphing library: How to add initial offset to bar graph
I using the AndroidPlot graphing library to make a bar graph, like so:
However, the months Jan and Dec are getting cut off. Does AndroidPlot have any kind of mechanism to offset this so that there's whitespace before Jan and after Dec?
I'm already…

Luke
- 2,187
- 1
- 18
- 29