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
7
votes
3 answers

Chart above grid lines in AChartEngine Bar Chart

In AChartEngine Bar Chart, is it possible that the bars are drawn over grid lines? How to do that? Currently grid lines are drawn over bars which make it a bit awkward. Sample Image is attached below.
Fahad Abid Janjua
  • 1,024
  • 3
  • 14
  • 35
7
votes
2 answers

My Android AChartEngine is already working, but how to make it look good?

I guess the title gives away most of my questions, but let's detail and give a bit of background: I have an Android app focused mainly for tablets that will be displaying a few different real-time data in TimeCharts. So I already have a service to…
Budius
  • 39,391
  • 16
  • 102
  • 144
6
votes
4 answers

save user data during a day (the same day -> many user data)

I have an application where the user enters data in edittext and presses the save button. By pressing 'save' I save in a file the user data (in one column) and the current date (in the other column). Then , I press another button and make the plot…
George
  • 5,808
  • 15
  • 83
  • 160
6
votes
2 answers

Different color bars using multiple series

I am totally new to Android and i am trying to create a bar chart using AChartEngine, it has 3 bars and each bar should be different color. I tried using multiple series but can't make my x-axis values align with bars protected void onResume() { …
chuck
  • 141
  • 4
  • 12
6
votes
2 answers

AchartEngine Line Chart Xaxis Android

i am working achartengine on android and completed all works i have face one problem in line chart i mention the xaxis label but it's shows like 2,4,6,8,10,12 and so on with overlay with my xaxis label and i want to hide 2,4,6,8,10,12 labels in…
Stack Overflow User
  • 4,052
  • 6
  • 29
  • 47
6
votes
1 answer

How to change the color of chart titles

Is there a way to change the color of chart titles (x-axis, y-axis, and chart heading) in aChartEngine? I changed my background to black, but can't get these labels to display, since they are also black.
Ryan
  • 1,331
  • 2
  • 12
  • 18
6
votes
2 answers

Android AChartEngine - Unable to change textColor of Y-Axis Labels

While using AChartEngine (JAR 1.0.0) for Android, I see a method that allows me to change the color of text for X-Axis (mRenderer.setXLabelsColor(Color.BLACK)) Unfortunately I am unable to find a corresponding method for the Y-Axis labels! Also is…
Ahmed Faisal
  • 4,397
  • 12
  • 45
  • 74
5
votes
2 answers

How to set value in x axis label in achartengine

Actually, in my app, I have created a graph using achartEngine. In these in the x-axis initially, I am displaying value from 1 to 31. Now instead of displaying this is it possible to display values like 1-03-2012, 2-03-2012, 3-03-2012 ... and so on…
AndroidDev
  • 4,521
  • 24
  • 78
  • 126
5
votes
2 answers

achartengine custom zoom buttons

Is there an easy way to use custom images for Zoom Buttons? I'd like to use default setZoomButtonsVisible functions to manage show/hide buttons. How can I override those buttons? I'd like to use icons from my res/drawable (drawable-hdpi,…
adek
  • 3,045
  • 2
  • 27
  • 41
5
votes
1 answer

bar chart with textual x axis - achartengine

I am using achartengine's bar chart in my application. My x axis is not numeric but has text items. just like the pic shown below. Is there a way to make a bar graph like this using achartengine? Can I only display the text in the x axis and not the…
Umang
  • 583
  • 2
  • 12
  • 28
5
votes
1 answer

How can I set my own typeface in AChartEngine renderer?

As you might know, you can use your own font in your specific android UI like following: myNewFace = Typeface.createFromAsset(getAssets(), "fonts/myown.ttf"); TextView label = (TextView) row.findViewById(R.id.tvTitleFunc); …
Tae-Sung Shin
  • 20,215
  • 33
  • 138
  • 240
5
votes
3 answers

Achartengine legend location

Does anyone know how to change the location of the legend? I am trying to expand the graph to make use of all the space. So far I have mRenderer.setMargins(new int[] { 20, 30, -50, 0 }); This expands the graph lower but the legend stays in the…
easycheese
  • 5,859
  • 10
  • 53
  • 87
5
votes
3 answers

Android achartengine simple pie chart

I'm following an example in this link and created a class as below public class aChartExample { public Intent execute(Context context) { int[] colors = new int[] { Color.RED, Color.YELLOW, Color.BLUE }; DefaultRenderer renderer…
kireol
  • 703
  • 1
  • 9
  • 22
5
votes
1 answer

AChartEngine, getting values of plots on click

I used achartengine for coding a simple time chart. What I want to do is get the values that are already plotted by clicking on the point on the graph, is this possible?
Adrian Viesca
  • 51
  • 1
  • 4
5
votes
1 answer

Plotting points irrespective of X axis count in aChartEngine

I used MultipleTemperatureChart.java for multiple Y axis chart,I plotted a sequence of 5 individual lines on Y1 Axis and 5 individual lines on Y2 axis with reference to axis X axis contains 12 points similarly all Y axis also contains 12 points.…
user39996
  • 117
  • 1
  • 10
1 2
3
80 81