RadPieChart Customize Tooltip

2 posts, 0 answers
  1. Zohaib
    Zohaib avatar
    1 posts
    Member since:
    Jul 2015

    Posted 08 Jul 2015 Link to this post

    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.



  2. Ves
    Ves avatar
    2926 posts

    Posted 10 Jul 2015 Link to this post

    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,
    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
Back to Top