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.
Related
I want to draw this gradient line chart in Android
Custom line chart
Do you know how can I draw this line chart?
You can use this libraries
-AchartEngine
-AFreeChart
-MPAndroidChart
-HoloGraphLibrary
-WilliamChart
or Or you can draw yourself using with View.class
Try out this library. This you can use as per your need.
MPAndroid Chart library... It support customisation.
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
I need to create a doughnut shaped Pie Chart, exactly as below example:
Maybe some people will ask why I said a Pie Chart instead of Doughnut Chart. I tried using Doughnut Chart, but the legend doesn't give me the information I need. It gave me category titles instead of color definition of each area in the chart, just like below image:
See the legend above? That is not what I want. Instead, I need the legend to be like the one in Pie Chart:
But Pie Chart has no hole in the center. How to make a doughnut shaped 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.
I am Using Achartengine Api for drawing pie chart. I am getting the legends displayed at the bottom of the Pie chart horizontally. but I want to display it on the right side of the Pie chart vertically. I heard that it can be done using setMargins() method . if I can use that please explain how to use that.
Thank you in advance.
The setMargins() API call is, as the name suggests, for setting the margins around the chart. You cannot move the legend using this and you actually cannot move the legend at all with AChartEngine. You can hide it.