Pie Chart for Dynamic values in ios

400 views Asked by At

I am beginner in iOS development .I am developing an application and I want create pie chart using dynamic data from JSON.

Data will looks like:

   {
    "name": "Sales",
    "total_earning": "904006",
    "per": 40.41
     },
    {
    "name": "Service",
    "total_earning": "596845",
    "per": 26.68
    }

I want display "per" in pie chart and it's dynamic values. Can you tell me which is the best way?

This pie chart for Department wise Earning Report in Android I want to make

1

There are 1 answers

6
Nik On BEST ANSWER

You can use dlpiechart class of dilipajm in GitHub, then, modify property & var for your purpose. Hope its useful.