This is a migrated thread and some comments may be shown as answers.
Tooltip and chart selection behaviour not working together
1 Answer 27 Views
This is a migrated thread and some comments may be shown as answers.
Shritama
Top achievements
Rank 1
Shritama asked on 16 Jun 2015, 03:14 AM

I am trying to work with xamarin forms and teleric. I have come to an issue where I need both tool tip and selection behaviour on chart on the same tapping.

It seems like only tooltip works and selection does not work when used together.

           private ChartSelectionBehavior beh;
           private ChartTooltipBehavior beh1;

           beh = new Telerik.XamarinForms.Chart.ChartSelectionBehavior 
            {
                                DataPointSelectionMode = Telerik.XamarinForms.Chart.ChartSelectionMode.Single,
                                SeriesSelectionMode = ChartSelectionMode.Single
            };
            beh1 = new Telerik.XamarinForms.Chart.ChartTooltipBehavior
           {
                        TriggerMode = Telerik.XamarinForms.Chart.ToolTipTriggerMode.Tap
           };

           chart.Behaviors.Add(beh1);
           chart.Behaviors.Add(beh);

Is there any way i am doing it wrong.

 

 

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 18 Jun 2015, 03:44 PM
Hi Shritama,

I am afraid this scenario is not directly supported on iOS at the moment. It will work fine on Android and Windows Phone.

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
Shritama
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or