Mpandroidchart: Half Pie chart request

Created on 29 Aug 2015  Â·  8Comments  Â·  Source: PhilJay/MPAndroidChart

Is there any way to achieve this chart with this library? i have looked in the documentation and didn't find anything, but maybe i am missing something.

Example:
k8gkk

enhancement

Most helpful comment

Now available: pieChart.setMaxAngle(180f)

    /**
     * Sets the max angle that is used for calculating the pie-circle. 360f means
     * it's a full PieChart, 180f results in a half-pie-chart. Default: 360f
     *
     * @param maxangle min 90, max 360
     */
    public void setMaxAngle(float maxangle);

All 8 comments

+1, I would be interested in that too.

+1, this would be nice. Although, maybe if it can be done so that you can specify the "gap" in degrees? In the above picure the gapSize, if you will, will be 180.
THAT would be awesome!

Now available: pieChart.setMaxAngle(180f)

    /**
     * Sets the max angle that is used for calculating the pie-circle. 360f means
     * it's a full PieChart, 180f results in a half-pie-chart. Default: 360f
     *
     * @param maxangle min 90, max 360
     */
    public void setMaxAngle(float maxangle);

i have imported the project using gradle, but i am not seeing this setMaxAngle function anywhere. How can I use it?

The feature is already in the latest master commit, but not released yet. That's why you cannot get it via gradle.

so how shall i import it so i can use this feature? or are you planning a
new release soon, then i could continue through gradle..?

thanks!
On 11-Dec-2015 3:34 am, "Philipp Jahoda" [email protected] wrote:

The feature is already in the latest master commit, but not released yet.
That's why you cannot get it via gradle.

—
Reply to this email directly or view it on GitHub
https://github.com/PhilJay/MPAndroidChart/issues/989#issuecomment-163762608
.

@RonEskinder : I'm working on Semi Pie chart like screen you mentioned in issue. I wonder if you completely do this chart? if you had done, can you share it for me?
Thank you very much!

how can i add an arrow sign for indication of value in below half pie chart ?
HalfPie

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JungYongWook picture JungYongWook  Â·  3Comments

rohitkumarbhagat picture rohitkumarbhagat  Â·  3Comments

DarkHelmet67 picture DarkHelmet67  Â·  3Comments

mrZizik picture mrZizik  Â·  3Comments

thanhcly920 picture thanhcly920  Â·  3Comments