I'm looking for a free Android charting library for two weeks now.
I read the different threads I found on stackoverflow but I did'nt found what I'm expecting.
So I would like to know if someone know a library that matches my expectations.
As an example, I'd like to draw charts that looks like the one on the following link : http://www.highcharts.com/demo/combo-dual-axes
In advance, thank you for your help!
Take a look at AChartEngine. The intermediate version currently available includes the combined XY charts support that will help you draw that kind of graphs you need.
Please see a screenshot here, showing what the current version can do:
Regards,
Dan
Androidplot supports this as well. Take a look at the Dual Axis Labels section of this doc as well as the NormedXYSeries section of this doc.
There's also a full source sample available here.
Related
I have an application in which I need to create below types of charts:
Lines
Bar/Column (grouped and stacked)
Combined (lines and bar)
In addition, it will be good to have below features if possible:
Support
Package constantly updated (not out-dated)
Well documented
Easy to integrate
I have seen a lot of them:
Grap View
AChartEngine
Charts4j
afreechart
HelloCharts for android
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.
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.
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)
I want to make a half pie-chart, like the below image,
Is it possible in Android ?
n order to show different types of chart,you can use AchartEngine library available in Android or Google charts API here
Kindly refer to this link for more information.there are also several demos available on internet.
You need to do litle bit customisation according to your need. :)
You can ask if you have any furher queries!!
I am using "shinobicontrols" (link given bellow) for my mono android application(xamarin).so, now i want to draw line chart for two data field one for "ask" price and one for "bid" price. so, any one can help me?
thanks in advance ....
http://www.shinobicontrols.com/android/shinobicharts/price-plans
The best place to ask for help relating to Shinobi Charts is their forums, there you will get help from people who are familiar with the libraries and the devs themselves.
It seems like you are just getting started, so the best place to begin would be the user guide, available here:
http://www.shinobicontrols.com/docs/ShinobiControls/ShinobiChartsAndroid/1.3.5/Premium/Normal/user-guide/index.html
This will take you through the steps needed to create and render a chart, there are also more detailed API documentation for the Xamarin bindings, for example for a Line Series (which is what it sounds like you are wanting to use):
http://www.shinobicontrols.com/docs/ShinobiControls/ShinobiChartsAndroid/1.3.5/Premium/MonoTouch/Com.ShinobiControls.Charts/LineSeries.html
Finally if you are still having problems feel free to post on the forums:
http://www.shinobicontrols.com/forum/shinobicontrols
Hope this helps, if you are still struggling just let us know what we can do to help.
Craig.
(Full disclosure: I work for ShinobiControls)
I want to draw a graph in my application.can any one tell me which is the best open source library used to draw a graph in android.I am confused.
achartengine library is very good,you can use it
link: http://code.google.com/p/achartengine/
Use MPAndroidChart.
Tried many libraries for the purpose.
Easiest to use and renders beautiful charts.
It turned out to be the best one.
I think you can give AChartEngine a try. It provides a demo application with a lot of useful code, it is open-source and free to use in any application.
Dan
I have some data stored, and want to display them as a graph like this:
How to make/build that? I really need this feature in my app.
take a look at the accepted answer of this so-thread
link-summary of that post:
rapidandroid.org/wiki/Graphing
GraphView
Java Charts for Android
ChartDroid
AndroidPlot
AChartEngine
This is a Sample Project I made. This might give you an idea what you need to do.