Willy
Willy

Reputation: 10650

Free chart library for creating lines, bar (stacked & grouped) and combined in Android

I have an application in which I need to create below types of charts:

In addition, it will be good to have below features if possible:

I have seen a lot of them:

Grap View Looks like it is well-documented, it has support and it is updated constantly. Also easy to integrate but I do not see it supports creation of stacked and grouped bar charts... so it is not good for me. Could anyone confirm me if it is possible to create grouped and stacked bar charts with it?

AChartEngine It seems like it has not support for grouped bar charts. It is out-dated (last version May 2013), and it does not explain how to integrate it. It seems well-documented and with support as it has a discussion group.

Could anyone confirm me if it supports grouped charts?

Charts4j Well-documented, supports grouped and stacked bar charts. Also line charts but I am not sure if it supported combined graphs (bar with lines) so anyone can confirm me?

It is out-dated... last version comes from January 2011.

afreechart A lot of chart types, including lines, grouped bar charts but.... it seems it has no support for stacked bar charts..... someone can confirm this? Out-dated as last version is April 2012. I cannot see an explanation on how to integrate it.

HelloCharts It supports all the chart types I am searching for: lines, column/bar (grouped and stacked supported). Also it is possible to combine line with bar charts.

It explains briefly how to integrate it with different options and a quick guide on how to start using it. It seems easy to integrate.

From git it seems very updated. It has examples but I cannot see any API documentation or documentation of any other type or even a wiki page. Creating issues or make questions it is possible by creating in issue from its page.

Conclusion Regarding to my needs, I think I am going to use HelloCharts but before doing this I would like to someone confirm me my doubts about the other packages and share opinions on what package is best for me to use according to my needs.

Upvotes: 5

Views: 1903

Answers (2)

ReGaSLZR
ReGaSLZR

Reputation: 413

Have you checked MPAndroidChart by Mr. Jahoda? I have only checked it out briefly though. I've seen that it has quite a good wiki and very nice customizable features for design. Everything you mentioned that you needed are provided by it. (I'm quite doubtful about the stacked bar though. I haven't seen it in the examples)

Upvotes: 1

mike-schultz
mike-schultz

Reputation: 2364

Have you looked into charting libraries for the web? You can add charts inside your android app by using a WebView and enabling javascript

setJavaScriptEnabled(true)    

Theres quite a selection of charts in javascript:

d3js

ZingChart

chartjs

I personally use ZingChart; it has svg support for high pixel density devices and recognizes touch input. It's free with a watermark.

Upvotes: 6

Related Questions