Questions tagged [androidplot]

An Android API for creating dynamic and static charts.

352 questions
4
votes
1 answer

Androidplot error: Cannot resolve getGraphWidget and other method

I'm currently developing an Android application for a university stage. This application has to draw a plot with data which are coming from some pressure sensor, to draw this plot I'm using Androidplot library. I'm following this example on…
Marco
  • 705
  • 8
  • 28
4
votes
1 answer

Attribute "title" has already been define when have android plot dependencies 1.0.0

every time i sync the gradle with compile 'com.androidplot:androidplot-core:1.0.0' i have an error of has already defined The Error Error:(309) Attribute "title" has already been defined Error:(316) Attribute "titleTextColor" has already…
Guren
  • 182
  • 2
  • 14
4
votes
1 answer

AndroidPlot - Make graph scrollable along with x-axis labels

I created a line graph with AndroidPlot.Since I have got pleanty of Domain values(x-axis labels), I need to implement a scroll.With this example given http://androidplot.com/docs/how-to-pan-zoom-and-scale/ , the graph scrolls, but the x-axis labels…
Badhrinath Canessane
  • 3,408
  • 2
  • 24
  • 38
4
votes
3 answers

Androidplot: Set padding/margin to (perfectly) accommodate axis labels

In an androidplot XYPlot, the tick labels on the Y axis get clipped if you have large values (many digits) and/or a large font size. This (and similar issues on the X axis) has been discussed before in these questions: Range field in Android Plot…
Dietmar
  • 506
  • 3
  • 10
4
votes
1 answer

Androidplot - X-Axis labels cut off

I'm creating a bar chart but have run into an issue with the x-axis labels being cut off on a tablet. Attached is the correct layout on a phone and the incorrect layout on a tablet. Does any one know why this issue occurs on a tablet and how to fix…
Mark
  • 183
  • 4
  • 12
4
votes
3 answers

Center domain label Androidplot bar chart

Currently the domain label is positioned below the Y axis labels. Is there a way to set the domain label to appear in the middle of the X axis? Using the below image as an example I want the domain label (Time secs) to appear where the legend…
Mark
  • 183
  • 4
  • 12
4
votes
1 answer

AndroidPlot setting Grid Spacing

I was wondering how I can change the grid spacing with AndroidPlot. My grid currently has 9 lines for domain and 9 for range and I have no clue where this comes from. Also if you happen to know how to make the graph-line a bit thicker that would be…
taranaki
  • 778
  • 3
  • 9
  • 28
4
votes
2 answers

Androidplot: Improve Axis layout (remove cutoff values)

On Androidplot my Axis Vals are cut off, so the last values are only shown half. How to fix this issue?
Arian
  • 3,183
  • 5
  • 30
  • 58
3
votes
3 answers

Charting on Android - problems with androidplot and achartengine

I want to integrate a simple XY line chart in my Activity. While looking for free charting with customization (customizable backgrounds, colors, axis labels), I found two candidates: Achartengine and Adnroidplot. There were some other libraries, but…
JustAMartin
  • 13,165
  • 18
  • 99
  • 183
3
votes
0 answers

how to show open/close values/text in androidplot candlestick chart

I'm using candlestick chart of androidplot library.meeting problems to show open and close values/labels alongwith the sticks.Here is the solution i found. final LineAndPointFormatter lpf = new LineAndPointFormatter(null, null, null, null); …
Gurpreet Kaur
  • 434
  • 1
  • 4
  • 16
3
votes
2 answers

LineChart issue using MPAndroidChart library

I am trying to make a simple smooth line chart which show the X axis as date-time on bottom and Y axis as normal left side. I just started using MPAndroidChart API and its example app in Git. In the example Line chart I am not able to find option to…
KplMax
  • 31
  • 1
  • 1
  • 4
3
votes
1 answer

androidplot background image shift

I'm trying to separate the background of the graph grid in 3 areas using this code: int[] data = {0xff000000, 0x80008000, 0xff000000}; bgBitmap = Bitmap.createBitmap(data, 1, 3, Bitmap.Config.ARGB_8888); RectF rect =…
Mirakels
  • 33
  • 3
3
votes
1 answer

AndroidPlot customize joints

I currently tried to make my plot look like this: But I do not know how to customize the point to have black stroke around orange fill, so my points are now "glued" to the lines. Or, at least how to make it look like this (outer circle of the…
Zkart
  • 55
  • 1
  • 5
3
votes
1 answer

How to make domain grid line scroll

AndroidPlot is an awesome lib. I followed http://androidplot.com/docs/how-to-pan-zoom-and-scale/ to make a scrollable chart but found the domain grid lines were fixed while the chart was scrolling. Is it possible to make the grid lines scroll with…
Louis Lee
  • 31
  • 1
3
votes
2 answers

Draw mathematical function with "androidPlot" library

I want to draw math-function like y=x^2+1 with androidPlot library.I have "SimpleXYPlot". It works but I don't know how to change it from sin to my function. Here's the code: public class DynamicXYPlotActivity extends Activity { // redraws a…
SDG69
  • 161
  • 1
  • 4
  • 19
1
2
3
23 24