Blazor WebAssembly SfChart fails with empty data

Try creating SfChart with empty data it gets Object reference not set to an instance of an object.

2 Replies 1 reply marked as answer

SM Srihari Muthukaruppan Syncfusion Team December 31, 2020 06:58 AM UTC

Hi Jovan, 
 
Sorry for the inconvenience. 
 
We have analysed your query. Based on that we have tried the provided code snippet and its working fine in latest version 18.4.32. Unfortunately, we are unable to reproduce the reported scenario. We have also attached the sample used for testing for your reference. Please find the sample and screenshot below. 

 
Screenshot: 
 
 
Let us know if you have any concerns. 
 
Regards, 
Srihari 


Marked as answer

SM Srihari Muthukaruppan Syncfusion Team December 31, 2020 07:17 AM UTC

Hi Jovan, 
 
We also suggest you to use .NET 5 version to overcome common issues in blazor. 
 
Let us know if you have any concerns. 
 
Regards, 
Srihari M 


Loader.
Up arrow icon