Search code examples
androidlayoutfragmentpie-chart

Can I draw a simple paint pie chart like this?


I'm not looking for anything fancy. I have tried to follow tutorials about pie and bar graphs, but a lot of the tutorials don't follow the guidelines of my app. In my app, in one of my fragment layouts, I would like to simply draw a pie chart of two values.

as simple as -

Draw Circle

(%value) of the circle is red. (other%value) of circle is blue.

Can this not be done this way?


Solution

  • No need to do the leg work when someone else has made it available.

    I highly recommend HoloGraphLibrary. I use it anytime I need to make a pie graph.
    https://bitbucket.org/danielnadeau/holographlibrary/wiki/Home

    It is very easy to use and it looks great.