Monday 21 April 2014

How to use AChartEngine in android- How to add achartengine-1.2.0.jar in Android Project

AChartEngine is a charting software library for Android applications. Mobile phones, tablets and other gadgets running Android will probably benefit of this charting library. You can create many types of real time chart in your android projects. Ex. Pie Chart, Bar Chart, Area Chart..etc.

Here is the few easy steps to setup your project to use AchartEngine.

Steps to use AchartEngine:

Step 1-Download the latest achartengine-1.2.0.jar  library form here: http://www.achartengine.org/content/download.html 

Step 2-Copy and paste the achartengine.jar in project’s libs folder.

Step 3- Include achartengine.jar file by following:

ProjectName-> RightClick->Build Path- Configure buid path->Librararies tab->Add JARs
In Add JARs browse your project name ->libs add existing achartengine.jar

Now you are ready to use all AChartEngine facilities’ to use in your project.
For further use of AChartEngine see the below example codes:

How to create Pie Chart using AChartEngine in Android-Android Pie Chart Example


How to create Bar Chart using AChartEngine in Android- Android Pie Chart Example



1 comment:

  1. I've been hunting all over for achartengine-1.2.0.jar to make the examples work. Most every link sends you to android.jar, which doesn't work. I downloaded achartengine-1.2.0.jar from you, and suddenly everything works perfectly! Thanks SO much!

    ReplyDelete