Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
25
Pie Chart : "Bad access" error for smaller angles.
posted

Hi,

I am parsing json data and trying to show it using Pie Chart. The application gives "Bad Access" when the slice angle goes below 10.77 degrees.

Can you please help? As the data is coming from server, any value can come in json. It is working when i modify the values and angle becomes > 10.77 degrees.

Any help would be appreciated.

Thanks in advance.

- Preety

Parents
  • 26458
    Offline posted

    I suspect you may have an older version of our framework files, because this sounds like an issue we fixed a while ago.

    You can find the version number by navigating to the IGChart framework in Finder and right-clicking and selecting Get Info.

    Can you post that version number here?

    The issue could be due to some of the pie slices getting grouped into the Others slice. See if setting pieChart.othersCategoryThreshold to 0 prevents your app from crashing. 

Reply Children
No Data