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

Pie chart display Non-Null Values

I am working on Pie charts using AChartEngine library. Here I want to disable chart values to show on charts, but only those whose content value is 0.If anyone known this please share to me. Codings: …
Venkatesh
  • 144
  • 1
  • 18
0
votes
1 answer

android dynamic plot using Achartengine

i m new to android. I m using Achartengine to plot a dynamic graph reading values from a binary file. Given below is my code.I want to have a dynamic running graph, in which values are being updated regularly. For this i tries to do it with and…
user1090992
  • 11
  • 2
  • 7
0
votes
1 answer

Have achartengine draw on top of the axis

As of right now if I have a line chart value that is straight horizontal or vertical and happens to be the exact value as one of the grid lines, then it becomes really tough to see. Is there any way to change the Z order of how things are drawn…
telkins
  • 10,440
  • 8
  • 52
  • 79
0
votes
1 answer

AChartEngine - refreshing the chart during usb communication

I refresh the chart in Timer. When the function refresh chart only everything is OK, but when I add code to the USB communication the graph is updated (once) only when the function is complete. timer.scheduleAtFixedRate(new TimerTask() { public…
rgb
  • 1,750
  • 1
  • 20
  • 35
0
votes
1 answer

how to display multiple plots(linecharts) in android using achartengine?

i am new to programming and hence android programming. I'm making an android app in which i have to show eeg data graphically (I mean dynamically in which data is received constantly and the graph is updated constantly with new values added to the…
user1090992
  • 11
  • 2
  • 7
0
votes
2 answers

line chart implementing AChartEngine

I'm trying to draw a line chart with the saved value in a file. I made a slight change to the original demo code given from the AChartEngine website to apply mine. But, there is an error that I can't understand.Please give me some help. Main code…
0
votes
1 answer

Achartengine create bitmap from chart always null

I tried various methods after googling for hours. Some of the methods seem to help some people, but not for me. What am I missing here? Maybe a permission? I know this is a common bug or something, but there must be a solution. All the methods are…
erdomester
  • 11,789
  • 32
  • 132
  • 234
0
votes
1 answer

Apply a programmatic pan with achartengine

Is there a way I can apply a pan from code? I want my pie chart to initially display a little off center (down a little bit). Can I do that?
Spencer
  • 2,245
  • 3
  • 28
  • 50
0
votes
1 answer

Android Dynamic Chart

I refer to the answer by @Caroilik Android Dynamic Chart on plotting a graph with Achartengine. I'm trying to plot three lines using the code he provided, but can't seem to figure out how to do that. Can anyone help? Thanks.
Muscle
  • 1
  • 1
0
votes
1 answer

Achartengine - pie chart disappears in dialog

I have a layout with a button. When I press the button, a custom dialog appears with a pie chart. For simplicity, I am using static values. I press the back button to cancel the dialog, then press the button again to show the dialog with the pie…
erdomester
  • 11,789
  • 32
  • 132
  • 234
0
votes
2 answers

How to simultaneously scroll two chart using AchartEngine?

I have an android application that uses AchartEngine to display two graphs. Everything is up and running and I can scroll each chart individually. However, I would like to be able to make the two charts scroll simultaneously, meaning that if scroll…
Reda
  • 36
  • 2
0
votes
1 answer

Adding a chart to a view and render it

If i set a Chart as content view everythings works fine: GraphicalView mChartView = ChartFactory.getLineChartView(context,dataset,renderer); setContentView(mChartView); But if I add the GraphicalView to a view the chart isn't…
frugi
  • 605
  • 7
  • 26
0
votes
1 answer

AChartEngine display value not to be shown when its value = 0

I am working on Pie charts using AChartEngine library. Here I want to disable chart values to show on charts, but only those whose content value is 0. Now I am using it like: public Intent execute_assetLifecycle(Context…
Kanika
  • 10,648
  • 18
  • 61
  • 81
0
votes
1 answer

AChartEngine add second series

I have a simple TimeChart in AChartEngine, everything works good but i have no idea how to add second series. Every my try was ended by ANR. Have you got any ideas how to add another series? This is my code: EDIT: I changed code, i tried add second…
Dr Glass
  • 1,487
  • 1
  • 18
  • 34
0
votes
2 answers

My java functions throws a nullpointerexception?

I am trying to call a function in another one but I get a nullpointerException as well as many other errors.. public float maxFat() { SharedPreferences customSharedPreference = getSharedPreferences( "myCustomSharedPrefs",…
callback
  • 3,981
  • 1
  • 31
  • 55