Achart engine - How to display the Pie chart legends to center - android

I am using Achart Engine to display the pie chart, now i see that the legends are not displaying to the center.
i want the legends to be displayed in center how to do it?

As stated by many questions and answers out there the legend cannot be centered for achartengine. I was actually looking for it myself.
The only solution i have herd of is to hid the current one and then display a new one in a text view.

Related

Stacked BarChart in MPAndroid Chart Library

I am using MPAndroid chart library to show some results into stackbar chart. I am able to create stackedbar chart. But I am facing problems in labeling of bars. I have data of different years and months. I want to label data month wise according to year. I am attaching a picture here to give you better idea, what i want to achieve.I want to label my graph just like in sample picture. I want months divided according to years.

Android - AChartEngine Doughnut Shaped Pie Chart

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?

How to show the legends in pie chart of same or in just color while using achartengine library

I am displaying pie charts in my application.
I want to increase and decrease size of the legends in the pie chart.
How do I achieve this?
The color of the legend items is the same as the slice colors. You cannot change that.

how to replace the legends of Piechart using achartengine API?

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.

Area Chart Graph in android

I want to implement an Area Chart Graph in android.I prefer Area chart graph because i want to color the area of my graph.The Graph is draw using some calcutions.AnyOne have an idea reagrding how to implement the area chart graph??
This is the answer you are looking for: Click Here

Categories

Resources