Is there a good graphics library for Android?

I need to display and display charts (now on charts, but more types may be needed later) in the android app I'm working on. I looked around a bit, and it doesn't seem like there are any really good, mature graphics libraries for Android.

Do you know anyone?

Edit to add some requirements details

  • Graph charts
  • Horizontal bar graphs
  • Two-line bar charts
  • Axis (including rotation 90 degrees along the y axis)
  • Labels above each column in the chart
  • Shaded or custom backgrounds
+5
android
Aug 06 '10 at 13:30
source share
5 answers

I used http://code.google.com/p/chartdroid/
"ChartDroid is an intent-based app" for creating static charts and graphs on Android.

+7
Aug 6 '10 at 13:47
source share

achartengine is an open source library. It also has oriented graphics. It is easy to use and has apache 2.0, so if you want it at all, you can change the code to fine tune it. The documentation is not so good, but the demos are enough to understand everything that is required for all types of diagrams.

Supported chart types:

  • line chart
  • area chart
  • scatter plot
  • timeline
  • Chart table
  • pie chart
  • bubble chart
  • donut chart diagram
  • range (high-low)
+9
Aug 6 '10 at 13:51
source share

MPAndroidChart

A powerful Android charting / charting library that supports linear bubble chart and candlestick charts, as well as zooming, dragging, and animating.

Main functions:

  • 8 different types of charts
  • Scaling along both axes (with touch gesture, separate axes or scaling)
  • Dragging / Panning (with touch gesture)
  • Combined charts (row, bar, scatter, candle data)
  • Double (single) axes
  • Customizable axes (both x and y axes)
  • Highlight values โ€‹โ€‹(with custom popups)
  • Save the diagram to the SD card (as an image or as a .txt file)
  • Predefined Color Templates
  • Legends (automatically generated, customizable)
  • Animation (creating animations on the xPx- and yPx axis)
  • Limit lines (providing additional information, maximum, ...)
  • Fully customizable (colors, fonts, legends, colors, backgrounds, gestures, dashed lines, ...)
  • Smooth scaling and scrolling up to 30,000 data points in Line- and BarChart
  • Gradle support
  • Loading data directly from the Realm.io database: MPAndroidChart-Realm
+2
Feb 20 '17 at 16:41
source share

Take a look at Androidplot - it includes all of the features listed. As an additional data point, here is a comparison of the current top graphics libraries for Android.

0
Feb 01 '17 at 20:48
source share

If someone is still interested, there is NChart3D that allows 2d and 3d diagrams: nchart3d.com .

-one
Oct 08 '14 at 13:01
source share



All Articles