kaiserfarrell / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Revision 76f9e2e4fb3f broke pieSliceIndexAtAngle #483

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Revision 76f9e2e4fb3f changed the pieSliceIndexAtAngle method (CPTPieChart.m) 
in an incompatible way. Namely, this call:

  [self pieSliceValueForRadians:angle];

became this:

  [self normalizedPosition:( angle / CPTFloat(2.0 * M_PI) )];

These statements are not equivalent. The correct call should be:

  [self normalizedPosition:angle];

Original issue reported on code.google.com by tre...@vocaro.com on 16 Dec 2012 at 1:35

GoogleCodeExporter commented 8 years ago

Original comment by eskr...@mac.com on 16 Dec 2012 at 2:00

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 5eae1188c0a0.

Original comment by eskr...@mac.com on 16 Dec 2012 at 2:01