Skip to main content

Posts

Showing posts with the label chart

Draw charts in application using AChartEngine

This code helps to draw a chart in your application using  'AChartEngine'  charting library. There are various other charting libaray in Android like: ChartDroid Android Plot rapidAndroid GraphView Java Charts for Android AChartEngine But here we will go with AChartEngine, AChartEngine supports the following chart types: lineChart Area Chart Scatter Chart Time Chart Bar Chart Pie Chart Bubble Chart Doughnut Chart Range (high-low) bar chart dial chart / gauge combined ( any combinatiob of line, cubic line, scatter, bar, range bar, bubble ) chart cubic line chart Follow the steps mentioned below for Importing that library into your project: First download that library from the above link. Now create a folder named "libs" in your project and copy paste the  achartengine.jar  file inside the libs folder. Now Right click on the project name -> Properties -> Java Build Path -> Under Libraries tab -> Add Jar -> click on your...