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!>
Thanks for joining our community and helping improve Syncfusion products!
Hello,
Please see:
Problem:
OnSelectedChanged event handler is never called in SfChart when any SelectionMode is set.
Repro:
run the code at the link above, choose F12 to view the Console output
click load data button
click on a column data point
Expected Result:
No Errors in the output Console.
The event Handler for OnSelectedChanged is called showing
9syncfusion-blazor.min.js:17 Uncaught TypeError: Cannot read properties of undefined (reading 'indexOf')
...
8VM4641 syncfusion-blazor.min.js:17 Uncaught TypeError: Cannot read properties of undefined (reading 'indexOf')
at Object.getSeriesElements (VM4641 syncfusion-blazor.min.js:17:145881)
at Object.selectionComplete (VM4641 syncfusion-blazor.min.js:17:157351)
at Object.performSelection (VM4641 syncfusion-blazor.min.js:17:152709)
at Object.calculateSelectedElements (VM4641 syncfusion-blazor.min.js:17:135139)
at e.chartOnMouseClick (VM4641 syncfusion-blazor.min.js:17:12290)
and the