Max's Blog

Max's Blog

Top 3 Android Chart Libraries

Top 3 Android Chart Libraries

Subscribe to my newsletter and never miss my upcoming articles

Before starting to develop Android apps I expected charts to be a standardized component. Since this isn't the case, we have to look for a chart library as soon as we need any kind of chart. Here are my top 3 Android chart library.

AACharts

I currently like to use the chart library AACharts. While this library is known in China, it's practically unknown here. The library gives me a wide range of different simple but good-looking charts that are quick to set up. It's also great to see it still gets regular updates & fixes.

Advantages

  • Quickly to set up once you know it
  • Customizable
  • Huge selection of chart types (even more with the pro version)

Disadvantages

  • Partly confusing function and parameter names
  • Confusing and limited parameters. (e.g. colors by resource id; Color is expected to be in a HEX String)
  • Less customizable regarding texts on the axes
  • Trial & Error to get it set up as you wish the first time
  • Documentation is unsatisfying

MPAndroidChart

MPAndroidChart is the most known chart library for Android. It's great if you want to be able to interact with the chart and need more customization.

Advantages

  • Every part is to a high degree customizable (axes, highlight, any text and lines, legends)
  • Allows to save the chart as image
  • Dragging / Panning, touch gestures and listeners
  • Great documentation

Disadvantages

  • Takes more time to get a nice-looking result

AnyChart

I have never used AnyChart, however it's always mentioned as the closest alternative to MPAndroidChart.

Advantages

  • Extensive documentation & lots of demos
  • Highly customizable
  • Created by a company, likely better support?

Disadvantages

  • Takes more time to get a nice-looking result
 
Share this