This is a migrated thread and some comments may be shown as answers.

RadPieChart Customize Tooltip

1 Answer 133 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Zohaib
Top achievements
Rank 1
Zohaib asked on 08 Jul 2015, 10:00 AM

Hi Telerik Team!

 We are using Telerik Xamarin UI Charts to display RadPieChart. How can we customize the chart Tooltip appearance?

 Any help would be appreciated.

 

Zohaib.

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 10 Jul 2015, 08:21 AM
Hi Zohaib,

RadPieChart for Xamarin Forms does not expose API for customizing the tooltip. However, you can create your own custom renderer, which will allow you to get access to the native control and customize the tooltip appearance for each specific platform. You can find out more about creating a custom renderer in this help topic.  You can find the topic dedicated to tooltips in the android chart here and the corresponding one for iOS is here. Note, that in iOS, tooltip is implemented with a trackball with hidden line:

Copy Code
chart.AllowTrackball = true;
chart.Trackball.Line.Hidden = true;
chart.Trackball.Tooltip.PinPosition = TKChartTrackballPinPosition.None;
chart.Trackball.SnapMode = TKChartTrackballSnapMode.ClosestPoint;


Best regards,
Ves
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
Tags
Chart
Asked by
Zohaib
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or