Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Sometimes when data for SfAccumulationChart component was changed, other parameters were set and component is rerendering, the app is crashing with the exception:


Error: System.AggregateException: One or more errors occurred. (Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index'))

 ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')

   at Syncfusion.Blazor.Charts.SfAccumulationChart.DoAfterRender()

   at Syncfusion.Blazor.Charts.SfAccumulationChart.OnAfterRenderAsync(Boolean firstRender)

   --- End of inner exception stack trace ---


This seems like a timing issue.


Steps to reproduce:

  1. render some number of accumulation charts
  2. filter them by some property so the number of rendered charts increases or decreases (e.g. by chart title)
  3. after continuous filtering (around couple of minutes) the exception will occure


Can you please add some sort of check for the index of collection to prevent this exception from happening.