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

4 posts, 0 answers
  1. Divya
    Divya avatar
    5 posts
    Member since:
    Mar 2019

    Posted 02 May Link to this post

    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

  2. Yana
    Admin
    Yana avatar
    4873 posts

    Posted 03 May Link to this post

    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
  3. Divya
    Divya avatar
    5 posts
    Member since:
    Mar 2019

    Posted 07 May in reply to Yana Link to this post

    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

  4. Yana
    Admin
    Yana avatar
    4873 posts

    Posted 08 May Link to this post

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