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

Utilizing achartengine's zoom in non-graph views

I have a view that I have overridden the onDraw method to output the info I need onto the canvas. On the same screen I have a graph so I think it would be most user-friendly if they both used the same zoom/pan mechanism. Is it possible to override…
Silvae
  • 594
  • 1
  • 8
  • 20
3
votes
0 answers

Android: How can i put an image as a point style in a line graph?

I am plotting line graph using achart in which I need to put an image instead of a point style. How can i do that? Please help me? protected void setRenderer(XYMultipleSeriesRenderer renderer, int[] colors, PointStyle[] styles) { …
sravanthi V
  • 136
  • 11
3
votes
1 answer

AChartEngine graph using two y axis

I am currently trying to create a graph using AChartEngine containing two y-axis (one to the left, one to the right). Yet, I cannot seem to figure out how I can actually add the second y-Axis. An XYMultipleSeriesRenderer only has got one setYTitle()…
user1050133
  • 324
  • 5
  • 12
3
votes
1 answer

How to make disable to show zoom pane in AChartEngine

Can anyone help me about AChartEngine. Here the first thing I need is not to show zoom icon with the chart and also not to show x,y labels. But I could not find any solution
Farhana Haque
  • 1,371
  • 14
  • 23
3
votes
1 answer

how to draw an achartengine TimeSeries with points but no lines between them?

I currently fake this feature by setting the XYSeriesRenderer color to white: final XYSeriesRenderer goodEventSeriesRenderer = new XYSeriesRenderer(); goodEventSeriesRenderer.setColor(Color.WHITE); …
Phlip
  • 5,253
  • 5
  • 32
  • 48
3
votes
3 answers

how to use achart engine in android

can you please post a basic example of using achart engine in android
3
votes
1 answer

setting line thickness for a graph - Achart engine

I am using AchartEngine for my android phone applications. Everything looks fine but the thickness of a line for the rendered graphs does not appeared to be good. I wanted to increase the thickness for these graphs.
Sudhakar Chavali
  • 809
  • 2
  • 14
  • 32
3
votes
1 answer

Android Studio: Specify location of gradle or android eclipse project

I extracted all the files from the achartengine library to the following path: C:\Users\student\Desktop\achartengine-1.2.0\ But when I select the path in adding a new module, an error pops up, stating: Specify location of Gradle or Android Eclipse…
Henry Zhu
  • 2,488
  • 9
  • 43
  • 87
3
votes
0 answers

achartengine : Zoom chart Programmatically

My App plots Line chart using achartengine Library. The Line chart can be zoomed in and out by setting zoom property using setZoomEnabled API, using pinch-to-zoom, and app is NOT using zoom buttons/icons for it. This zoom functionality works fine…
AADProgramming
  • 6,077
  • 11
  • 38
  • 58
3
votes
1 answer

Remove decimal vales from y axis in achartengine graph android

I wanna remove decimal number on Y axis in achartengine graph library as shown below : CODE : public GraphicalView createIntent(List values, float height_) { height_ = (float) (height_ + 0.4); String[] titles = new…
KOTIOS
  • 11,177
  • 3
  • 39
  • 66
3
votes
1 answer

Android : Bar chart changing y axis scale with achartengine

I'm new to achartengine ,and i would like to know how to change the y axis scale. I'm trying to get a bar chart , to display the wifi signal strength and channels .I need for X axis (1,2,3..14) and Y axis (-90,-80,-70...-30) scales. But i don't know…
Amina
  • 723
  • 8
  • 20
3
votes
0 answers

achartengine - Chart line doesn't sit on the coloured region if a point goes above the visible region

I have made a simple Line graph with the lower region coloured. FillOutsideLine fill = new FillOutsideLine(FillOutsideLine.Type.BOUNDS_ALL); fill.setColor(getResources().getColor(R.color.graph_green)); …
boyfromnorth
  • 958
  • 4
  • 19
  • 41
3
votes
1 answer

Android Polar Graphing

I'm trying to do something like this, but I have a little bit of flexibility with how it looks. Essentially either a pie chart with only part of the pie filled (and the rest left blank), or some sort of dial chart. It would also be relatively easy…
laberle
  • 31
  • 5
3
votes
1 answer

Pie Chart: how to display text just on some pie slices using AChartEngine Android library?

I'm using AChartEngine (http://code.google.com/p/achartengine/) library to display a pie chart in an Android app. The pie chart can have lots of slides. I want to display just on some pie slices the values, but I could not make it work (I'm not even…
Paul
  • 3,812
  • 10
  • 50
  • 73
3
votes
1 answer

DrawerLayout with Achartengine GraphicalView Linechart

Why Linechart sinks on sliding drawer slide ? Anyone have face this problem please help.
keshav
  • 3,235
  • 1
  • 16
  • 22