RadCartesianChart Horizontal - Tooltip labels not always showing up

2 posts, 0 answers
  1. Cesar
    Cesar avatar
    3 posts
    Member since:
    Mar 2018

    Posted 02 Jul Link to this post

    Hi,

    We're having a usability issue on iOS only with the Horizontal Bar RadCartesianChart, please look at the attached picture, it seems it only shows the tooltip when you click very precisely towards the tip of the bar, but if you click anywhere else (this is, all the other 90% of the bar) it doesn't show the label. The expected and more intuitive behavior would be to always show the tooltip when tapping anywhere on the bar. Can you advise if this is a known issue and if there is a workaround to achieve this behavior?

    I was able to reproduce the issue using a fresh download of the telerik xamarin forms sdk browser from GitHub (https://github.com/telerik/xamarin-forms-sdk/tree/master/XamarinSDK/SDKBrowser/SDKBrowser/Examples) and just adding this code on the "BarSeriesHorizontalCSharp.cs" file, 1 line before the last line of the constructor:

     

    var toolTip = new ChartTooltipBehavior()
    {
      TriggerMode = ToolTipTriggerMode.Tap
    };
    chart.ChartBehaviors.Add(toolTip);

     

  2. Yana
    Admin
    Yana avatar
    4915 posts

    Posted 04 Jul Link to this post

    Hi Cesar,

    Thank you for sending the detailed report.

    I was able to replicate the observed behavior with RadChart on iOS and I submitted a bug report on your behalf in our public feedback system, you could follow the item below in order to receive email notifications on status changes:
    https://feedback.telerik.com/xamarin/1417034-chart-ios-the-tooltip-is-shown-only-when-the-tip-of-the-bar-is-tapped

    I am afraid that I couldn't find a feasible workaround to this behavior as the logic behind is internal for the iOS Chart.

    I am sorry for the caused inconvenience.

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