Home > Android, Programming > Drawing Charts in Android with AChartEngine Library

Drawing Charts in Android with AChartEngine Library

September 2nd, 2011 Leave a comment Go to comments

AChartEngine is a charting library for Android applications that currently supports the following chart types:

  • line chart
  • area chart
  • scatter chart
  • time chart
  • bar chart
  • pie chart
  • bubble chart
  • doughnut chart
  • range (high-low) bar chart
  • dial chart / gauge
  • combined (any combination of line, cubic line, scatter, bar, range bar, bubble) chart
  • cubic line chart

They announced that new chart types would be added in future release (Current version is 0.7.0). You can follow the updates for the library on Google Code or Facebook at http://www.facebook.com/achartengine.

You can download the aChartEngine library on Google Code.

You can also download some demo code such as TemperatureChart.java which display the following chart with just 100 lines of code including comments.

Charting Library for Android: Temperature Chart Demo

Temperature Range Chart drawn with AChartEngine Library

Here’s the code (TemperatureChart.java) to display the Chart above:

  1. No comments yet.
  1. No trackbacks yet.