Can any one please tell me is it possible to display pie chart in our application.
Do we need to use any third party api. I want to display pie chart with click event to each slice in the chart.
May this can helps: GraphView
Is a library to create charts on Android. On the same page you can find code examples. Source code here
Other option is: achartengine
Related questions:
https://stackoverflow.com/questions/424752/any-good-graphing-packages-for-android
Hope it helps!
You can use AChartEngine for clickable pie charts.
An example showing this usage can be found here.
Related
My app contain a quiz in which I want to show the result of the quiz in a graphical form.
But I don't know about how to create drawable shapes dynamically, and with a pie chart design.
The App has three parameters:
Correct questions
Incorrect questions
Not attempted questions
I have no idea about how to design a pie chart dynamically and I want to add it to a linear layout.
The graphical representation of result will be like following diagram:
How can I solve this?
There is a very famous library for this the MPAndroidChart .
Using this you can create all types of graphical representation like pie charts,line charts ,bar charts and many more.
The image in your question is a pie chart and to get started with it , you can view this tutorial here.
you can use this library to build the pie chart here as you mentioned in the image
I am creating an app with a barChart/pieChart . and my idea is i want the user to input their data on the EditText Provided . and my problem is i dont know how to do that can anyone help me with this for my proj. thanks in advance
u can use mp chart library or achart engine library
https://github.com/PhilJay/MPAndroidChart https://github.com/ddanny/achartengine
this libraries r good for chart with animation
Use this library easy to use MpAndroidChart
a link
Try Google charts as well
a link very interactive and responsive
I am trying to create a pie chart in android whose input values are read from a text file. I have a problem in parsing the data and assigning it to the distribution series and setting the color for the pie chart. Any sample code for this would be of great help.
Thanks !
Please check code for achartEngine. i think your problem resolved using achartEngine. See the below link.
https://github.com/jondwillis/AChartEngine/tree/master/achartengine
You just check out how to use google chart from this below link
http://psychopyko.com/tutorial/how-to-use-google-charts/ and let me know whether it is useful or not.
I'm looking library that allow to build bar charts with negative values like on picture below.
I tried already AndroidPlot(impossible to achieve this on version 0.6.0) and GraphView(look like impossible, actually i get same result as in AndroidPlot)
Greatly appreciate any help.
It is impossible via GraphView library but possible using AChartEngine library.
I'm using AchartEngine to create charts in android. But not able to show animations. For example : in pies chart i want initial rotations. In bar chart i want bar should grow from top to bottom.
Or is there any API or library which helps to build animated charts in android.
Please suggests or give any sample.
It is possible. You just need to modify the property you want to be modified and then call mChartView.repaint();