I want to know that which annotation can be best viewed on donut chart.
Also how to display the annotation at the point of tap or point of slice of donut chart.
Thanks,
Ankit
3 Answers, 1 is accepted
0
Adrian
Telerik team
answered on 15 Apr 2015, 10:30 AM
Hi Ankit,
Thank you for contacting us.
The annotations in TKChart are designed to work with cartesian chart and shouldn't be used with pie or donut chart. Instead you should use point labels. To enable point labels for your donut series you should set the textHidden property of TKChartPointLabelStyle to NO. Please consider the code snippet below:
donut.style.pointLabelStyle.textHidden = NO;
If you need to change the text of your label you should implement the chart:textForLabelAtPoint:inSeries:atIndex: method of TKChartDelegate and return the text for the corresponding label:
Hi, if I need to change the Label for a Point label when is selected but I have implemented the LabelForDataPoint method. How can I indicate that only show my custom Text but only when is selected-
0
Adrian
Telerik team
answered on 20 Apr 2016, 02:12 PM
Hi, Enrique,
Currently TKChart does not support editing separate point labels. This is already logged in our feedback portal. You can follow the status of the feature request there.
Regards,
Adrian
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items