Semi Circle Pie Chart in Android Application - android

Can anyone please help me out with creating a semi circle pie chart in an android application or is there any library that I can implement to render a semi circle pie chart similar to the attached image..

edit in this link MagicPie
Its a third library that works with Core Animation.
Changing the properties 'startAngle' and 'endAngle' of the the property 'PieLayer' in the UIView where the Pies are drawn.
self.layer.startAngle = 0;
self.layer.endAngle = 180;
refer linkhere

The following mentioned library will do your task
https://github.com/PhilJay/MPAndroidChart
also go through
http://androidplot.com/

Related

Android Graph view with smooth corners

I am working with android GraphView version 4.2.1. I have already implemented it and have obtained a graph with sharp corners as shown in the figure.
How can I make it a smooth curve?
NB : How to make line with rounded (smooth) corners with AndroidPlot doesn't have any relation with GraphView. Both are different libraries and they have their own unique way for it's implentation
Thanks in advance

How to draw pie like chart in Android

How can I draw something like the circular chart in image below in android :
How about this libabry.. ? it has pie charts
https://github.com/PhilJay/MPAndroidChart
Documentation is here
try this library
You can draw one by one layers
https://github.com/RamiJ3mli/PercentageChartView

Add a Shadow on a Pie Chart [AchartEngine]

I'm working on a pie chart using the library Achartengine, and I wanted to add shadow to the pie circle, how could I do this ?
I would like to avoid adding and imageView for that.

LineChart issue using MPAndroidChart library

I am trying to make a simple smooth line chart which show the X axis as date-time on bottom and Y axis as normal left side. I just started using MPAndroidChart API and its example app in Git. In the example Line chart I am not able to find option to change X axis labels to show on bottom instead of top as show currently.
Just like:
Also is there a way to handle date-time data for X axis values ?
Also I tried my hand on Androidplot API but to make the line smooth there I need to make changes in library code which is not compiling at all in my Eclipse and giving errors. Also in Androidplot I did not find an option to show popup with data once I click on line chart.
So if anyone know how to make a smooth line chart using Androidplot API without modifying its library code and how to bring small popup with data in Androidplot API please reply.
// XAxis settings
graph.getXAxis().setPosition(XAxis.XAxisPosition.BOTTOM);
graph.getXAxis().setLabelsToSkip(0);
// and
// make the line smooth
graph.getLineData().getDataSets().get(0).lineDataSet.setDrawCubic(true);
Refer this:
http://wptrafficanalyzer.in/blog/android-drawing-line-chart-using-achartengine/
for smooth curve lines please refer this:
How to make line with rounded (smooth) corners with AndroidPlot
Hope this may help you.
AChartEngine is a charting library for Android applications. Using AChartEngine library, we can plot various charts like line chart, area chart, pie chart, time chart, bubble chart etc.

Draw outline for the pie chart

i am using a chart engine to draw graph it works fine but i need to add an outline to the pie chart? how to do that
i have checked this
Link
and the graph should be something like this
graph image
That is not yet supported. You can create an issue in the AChartEngine tracker and ask for this to be implemented.

Categories

Resources