This is a migrated thread and some comments may be shown as answers.
RadCartesianChart Horizontal - Tooltip labels not always showing up
1 Answer 16 Views
This is a migrated thread and some comments may be shown as answers.
Cesar
Top achievements
Rank 1
Cesar asked on 02 Jul 2019, 09:37 PM

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);

 

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 04 Jul 2019, 11:46 AM
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
Tags
Chart
Asked by
Cesar
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or