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
0
votes
1 answer

What does .draw() does in achartengine?

I am using achartengine and i am trying to draw rectangles, circles inside it, i have seen the ChartView.draw(Canvas) method but i dont know if it work on this way: mChartView = ChartFactory.getLineChartView(this, dataset,…
Andres
  • 6,080
  • 13
  • 60
  • 110
0
votes
1 answer

AChartGraph with multiple lines

I want to get some values from a table and store them in a multiple line chart. When I use only one column (fat) it displays a graph correctly, but when i add another column or two it gives me an error saying : Dataset and renderer should not be…
callback
  • 3,981
  • 1
  • 31
  • 55
0
votes
1 answer

achartengine switch chart type within view

I am implementing achartengine within a ViewPager. The view holding the chart has a spinner with 7 options where you can choose which data you want to view. 6 of the options return a PieChartView and the last one returns a TimeChartView. The…
DaveSav
  • 1,364
  • 5
  • 21
  • 41
0
votes
1 answer

Achartengine: reverse y axis, how to do?

I'm using achartengine to show graph, but I want to reverse the y axis for example from 15 up to 0. Someone can help me?
Shilaghae
  • 957
  • 12
  • 22
0
votes
1 answer

AChartEngine current position

I am using AChartengine for some android application, how can i update X and Y description when someone scroll graph at runtime? For example, i want to update X axis description is X value in less then 10 to Low, but if X value is between 10 and 20…
buda
  • 2,372
  • 1
  • 18
  • 23
0
votes
1 answer

How i can set setZoomButtonsVisible with aChartEngine?

I created a chart with aChartEngine and it works but when i write renderer.setZoomButtonsVisible(true); eclipse doesn't acknowledge the method. It appears red. What is the problem? thanks and sorry for my english
0
votes
1 answer

How to return layout with chart using achartengine in Android Fragment

I am trying to return layout with chart and some buttons from onCreateView in fragment. I don't know how to combine the two views into one. I can return only the chart or layout without the chart: public class ChartFragment extends Fragment { …
rgb
  • 1,750
  • 1
  • 20
  • 35
0
votes
1 answer

need help on achartengine for android

I have created an application in Android to read certain sensor values using Arduino board. Now i am trying to use the achartengine to draw the graph for one of the sensors. I have chosen the line chart / sensor value chart of…
skumar
  • 1
  • 5
-1
votes
1 answer

Regarding achartengine 0.6.0 chart library source code

I am looking for a achartengine chart library 0.6.0 source code.Can anybody help me in getting that. I have checked on the google code site but the code available there is 0.7.0. Thanks & Regards, Ashiq Sayyad
-1
votes
1 answer

How draw line between point using achart engine android

Here i attach screen shot where i got point but not getting draw line between them because there is i need skip month value where null data so please suggest where which month have MathHelper.NULL_VALUE that skip and draw line with next value.
Sachin Suthar
  • 692
  • 10
  • 28
-1
votes
1 answer

Android achartengine rendering pie chart with unnecessary line

I am using achartengine for rendering a pie chart, the chart rendered but together with chart a line seems on big screen devices. (like 5.5 inc). The line is in the red rectangle. (I draw the rectangle to point out unwanted line)
Cüneyt
  • 2,565
  • 25
  • 31
-1
votes
1 answer

Binary XML file Error inflating class

I am unable to find the reason of ErrorInflation. Ask if you want to show me other classes or xml. And i am using AchartEngine. 06-25 09:40:17.889: E/AndroidRuntime(1058): FATAL EXCEPTION: main 06-25 09:40:17.889: E/AndroidRuntime(1058):…
Zar E Ahmer
  • 33,936
  • 20
  • 234
  • 300
-1
votes
1 answer

Issues with Graph ploting in android achrtengine

I am using achartengine for graph ploting . I have issues with matching points with a straight line . Like If I have to make a line for a week and let say I don't have points for any two days (Tuesday and wed.) Now how I am gonna match point of…
KDDhiman
  • 21
  • 4
-1
votes
1 answer

Blank UI when adding charts to a container in codename 1

How to add 4 charts on the same form using a tablelayout. i tried adding a chart to a container nothing comes out. please help
-1
votes
1 answer

AchartEngine Barchart Spacing not working when orientation is vertical and number of elements are 2

I am having a AchartEngine Barchart. I have only two bars to show with Orientation as Vertical. The space between the two bars is very high and I am not able to change it. I have tried the following 1. Change the values passed to setBarSpacing()…
Rochan S
  • 11
  • 5
1 2 3
80
81