pie chart best api for android - android

I'm developing an android app and I need do implement a pie chart. I've searching for some alternatives but the APIs that I've found are a little limited in terms of animations and graph customization.
Does anyone knows the best way to implement a pie chart that can rotate when touched?
Thanks in advance.

I like Charts4j. You can use it to create a few kinds of pie charts. If you put the resulting drawables into a view you could probably figure out some way to interpret touch events to trigger rotate animation effects.

Related

Android Movable Line Chart

I want to implement draggable line chart for android.
• This is exactly i want to
I have referred many charts library like mpandroid, android-plot, hz-graphview among all line charts are static.
P.S I'm not asking anyone to implement this all i need is guidelines or any open source library will be appreciated.
I would recommend you to start with trying out this sample from Android developers-site to get started with drawing in canvas if you haven't done so before. Then start to modify the sample to use onTouchEvent for dragging the objects, and take it from there.
Read more: Drag Shape On Canvas in android
It seems MPAndroidChart has dragging feature. Check it out. BTW I haven't tried it yet.
https://github.com/PhilJay/MPAndroidChart/blob/master/README.md
A library is now available with the same feature mentioned.
source
Achieved same functionality with this library with minor modification.

Implement pie-chart with variable slice sizes in MPAndroidChart

Thanks to my designer with great searching skills, I have to implement a pie chart in my android application like below.
I am using MPAndroidChart library for charts elsewhere in the app.
So far, I haven't written code for the chart since I can't see any setters for altering slice sizes in the documentation.
Can someone point to any resource where anything like this is achieved or if it is not possible to do it with out-of-the-box version of the library?
Thanks!
Does this kind of chart have a special name?
So basically the "value" is indicated not by the (angular) space the slices use like in a normal piechart, but by their height.
Currently it is not possible to create such a chart with MPAndroidChart by default. This would require significant modification of the library.
However, I am strongly considering to add such a feature in the future, because I really like the concept of this kind of chart.

Android - BarChart, Bargraph

I want to implement a feedback/rating chart in my android app.(it is like when you open the google play and check an app's feedback there is a colourful graph from users who had voted it) Can anyone help me how to start that? I appreciate any help you can provide.
Use MPAndroidChart, or another Chart library external to the default libraries. It's difficult to implement a bar graph or any sort of graph on Android; you'd have to make a listview, and it would have to be oriented horizontally.

Swipe screen using AndEngine in Android Game

I'm new to AndEngine. I'm making a game,where I want to implement level selection.
Where I want to use swipe for all levels.
I know about swipe detection. But I don't know how can I implement swipe effect, like scenes are changing. I searched on internet a lot, but couldn't fine useful solution.
Do I have to make all sprite on one scene or make different scenes?
Any suggestion how to implement this?
You need to create different scenes and at runtime change t scene using
mEngine.setScene(myOtherScene);

Any idea on the simplest graphing technique?

I need to create a View that represents an x/y axis. I will read in 9 separate sets of (x,y) coordinates and will have 9 checkboxes, one for each set of data. When the user presses the check boxes the different waves will appear.
I have done research and found three possibilities: google charts, achartengine, and Canvas.
Does anyone have any ideas at what I could use for the simplest implementation of this?
I suggest you use AChartEngine rather than drawing to canvas.
You can download the library, javadocs and a demo application here.
The main advantage of using AChartEngine is that you won't need a data connection for rendering charts.
There are tutorials on youtube on getting started with AChartEngine. The library is free and open-source.

Categories

Resources