Questions tagged [achartengine]

A charting software library for Android applications by Dan Dromereschi.

AChartEngine is a charting library for Android applications by Dan Dromereschi. It currently supports the following chart types:

  • line chart
  • interpolated line chart
  • area chart
  • scatter chart
  • time chart
  • bar chart
  • pie chart
  • bubble chart
  • doughnut chart
  • range (high-low) bar chart, including support for gradient colored bars
  • dial chart / gauge

All the above supported chart types can contain multiple series, can be displayed with the X-axis horizontally (default) or vertically and support many other custom features (labeling, colors, zoom & pan, pinch zoom,...). The charts can be built as a view that can be added to a view group or as an intent, such as it can be used to start an activity.

AChartEngine is currently at the 1.1.0 release and is available from the project's web site.
Alternate link A nightly build for version 1.2.0 is available here.

A good way to start is to checkout demo sources and experiment with it. The demo app includes many examples, using almost all AChartEngine features.

A good tutorial can be studied here and another one here.

The AChartEngine Facebook page shows a nice list of applications using it.

1215 questions
137
votes
6 answers

Add Maven repository to build.gradle

I added a custom maven repository to build.gradle in Android Studio but the dependency is not being found Maven repository and dependency achartengine Public AChartEngine repository
André Ricardo
  • 3,051
  • 7
  • 23
  • 32
114
votes
5 answers

Android charting libraries

I am trying to find a fast and reliable charting library. After some searching, I found 4 libraries: AChartEngine [warning! official website is down and redirects to virus filled website!], WilliamChart, HelloCharts and AndroidPlot. I need some up…
user3488996
  • 1,339
  • 2
  • 10
  • 13
28
votes
4 answers

Android: I am using AChartEngine library for graphs, but not able to integrate achartengine's graph view with android xml?

My application requires graph library and I am using achartengine graph library. My app requires graph to be only 50% of the screen and other part is used to display some other information. Is it possible have xml resource file for achartengine's…
pitnal
  • 551
  • 1
  • 5
  • 17
21
votes
2 answers

AChartEngine transparent background

I have a problem. I'm making a graph with AChartEngine and I would like to have the background of the whole graph to be transparent: XYMultipleSeriesRenderer renderer = new XYMultipleSeriesRenderer(); (...) renderer.setMargins(new…
Yellos
  • 1,657
  • 18
  • 33
18
votes
4 answers

Android charts: achartengine or AndroidPlot?

I want to develop an activity to display sensor data in a plot. I've been looking around and I have found that the more interesting options for me are achartengine and AndroidPlot. I need the following requirements: Line plot with 3 or more…
jsalvador
  • 733
  • 2
  • 7
  • 18
17
votes
3 answers

IllegalArgumentException: radius must be > 0

I'm designing a bar graph and a pie chart in a view pager using AChartEngine library. When I scroll from bar graph to pie chart, application crashes. The crash report is as following. FATAL EXCEPTION: main java.lang.IllegalArgumentException:…
madhu
  • 744
  • 3
  • 8
  • 19
12
votes
4 answers

Bar chart using achartengine

I want to draw a bar chart which contains five individual bars - I have used Achartengine. I am able to display all five bars in the same color but I want to differentiate one bar with a different color, but I cant display more than one color.…
selva
  • 446
  • 1
  • 7
  • 21
12
votes
5 answers

achartengine demo compiling, but runtime error

I followed demo instructions on page http://www.achartengine.org/content/goodies.html i successfully imported the demo project, but every chart give throws a NoClassDefFoundError at runtime, similar to…
Shine
  • 3,788
  • 1
  • 36
  • 59
10
votes
1 answer

android - How to change the background color of the graph using achartengine

I implemented the Line graph using the achartengine. But i want change the line graph background color. Somebody suggest that the following code for changing the background…
naresh
  • 10,332
  • 25
  • 81
  • 124
10
votes
2 answers

Draw circle which is filled horizontally in Android

To draw circles and pie charts in Android, we can use the AChartEngine Android framework as shown here. However, how can we draw circles that is partly filled horizontally (or vertically) in Android? I mean circles which are filled, for example,…
Omar
  • 1,430
  • 1
  • 14
  • 31
10
votes
3 answers

Is achartengine ready for realtime graphing?

I'm trying to graph some real-time data, "realtime" here means < 10msec data, ideally as low as possible. I've been able to get Android to fetch and process data this fast but ACE just looks like it's not been designed for real-time use in mind.…
Usul
  • 123
  • 1
  • 7
10
votes
1 answer

How to make space between bars in bargraph using Achartengine if each bar is different color containing different values

I am displaying 4 values in a bargraph where each bar is different color. when I am displaying the graph each bar overlapping each other. I want to make space between the bars I tried with setBarSpacing() by putting different values still its not…
Abhijit Chakra
  • 3,201
  • 37
  • 66
10
votes
2 answers

The application AChartengine has stopped unexpectedly. Please try again

I just tried to use achartengine demo, but every time I click on something to show the chart appears an error saying "The application AChartengine has stopped unexpectedly. Please try again". Someone knows to tell me how can I do? I followed the…
Shilaghae
  • 957
  • 12
  • 22
9
votes
2 answers

achartengine x-axis labels shift compared to values

I noticed that the Xlabels of my Timechart are out of sync with the X- values. The points should be right above the labels. On the left side it OK, but it shifts towards the right. I don't know how to solve this What i…
Christian Loncle
  • 1,584
  • 3
  • 20
  • 30
9
votes
2 answers

AChartEngine And Android Studio

I have to create an application that makes extensive use of charts. Reading the web I chose achartengine that seems to have everything I need. I downloaded the jar file, I plugged in the libs folder, I selected "add to library" and I lunch the…
user3887487
  • 91
  • 1
  • 1
  • 2
1
2 3
80 81