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

Application is Crashing Randomly in Xamarin Forms IOS Project when we try to use ChartSelectionBehavior in DonutSeries and BarSeries

3 Answers 82 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Divya
Top achievements
Rank 1
Divya asked on 02 May 2019, 09:57 AM

Hi all,

This happened randomly when we tap on a chart section to go to detail, sometimes it doesn’t fire selection event and sometime when it fires it gives null reference exception.and some times when we tap on a chart selection, application is terminating even its not giving any error in Xamarin forms IOS Project

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 03 May 2019, 01:32 PM
Hello Diviya,

We have the following issues related to Chart SelectionBehavior:

https://feedback.telerik.com/xamarin/1381299-chart-ios-the-selectionchanged-event-of-the-chartselectionbehavior-is-fired-twice-for-a-single-selection-change
https://feedback.telerik.com/xamarin/1366345-chart-clearselection-method-of-the-chartselectionbehavior-does-nor-work-properly

Please check whether the erroneous behavior you're observing is not related to any of those.

If that's not the case, I would ask you to elaborate more on the concrete scenario you have.

Regards,
Yana
Progress Telerik
0
Divya
Top achievements
Rank 1
answered on 07 May 2019, 07:53 AM

Hi Yana,

My Issue also same including that sometimes selection  changed is not firing(if it fires its not giving selectedpoints) and sometimes it's firing two times

0
Yana
Telerik team
answered on 08 May 2019, 10:04 AM
Hello Diviya,

I suppose that these issues are related to the mentioned bug reports - if you use ClearSelection() method, it does not work properly, so the selected points of the chart would remain. In this case if the user selects another data point, SelectionChanged will be raised to un-select the previously data point and in this case SelectedPoints collection will be empty.

I've raised the priority of both issues related to selection and hopefully, we'll manage to provide a fix soon.

I am sorry for any inconvenience caused.

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
General Discussions
Asked by
Divya
Top achievements
Rank 1
Answers by
Yana
Telerik team
Divya
Top achievements
Rank 1
Share this question
or