Open farazhaider88 opened 9 years ago
i want following thing with this library? is it possible??
Hi,
On current version it is not possible. Required some code modifications to add possibility to move details view away from piechart.
2015-09-28 18:31 GMT+05:00 farazhaider88 notifications@github.com:
i want following thing with this library? is it possible?? [image: wfbkc] https://cloud.githubusercontent.com/assets/1468654/10136660/07269be4-660f-11e5-832f-362d4e3b1eb8.png
— Reply to this email directly or view it on GitHub https://github.com/andjash/AYPieChart/issues/1#issuecomment-143744346.
can u help me in making this. i need to make this.
Sorry, now i have no free time for this. Maybe in future...
2015-09-28 18:48 GMT+05:00 farazhaider88 notifications@github.com:
can u help me in making this. i need to make this.
— Reply to this email directly or view it on GitHub https://github.com/andjash/AYPieChart/issues/1#issuecomment-143748336.
can you please provide me hint on doing this. i need this on urgent basis, will remain your grateful on this.
If u dont need rotation, you can use method for identifying current position for required chart segment.
- (CGFloat)angleInDegreesForPieChartEntry:(AYPieChartEntry *)entry;
After you get angle for required segment you can calculate coordinates and manually add your custom view to outside area of chart.
i did not need any rotation. i just need these views to be placed on there.
And he just told you how. Nest the pie chart in a bigger UIView and use the angles supplied to calculate where to put your extra views relative to the chart's center.
is there any way i can change the position of detail view and shift it out side pie keeping it in centre?