Getting error from chart control when placed on a Blazor WASM page.

Initial attempt as using Blazor Chart control and I get this error when the page loads...even with the control hidden.  Did I miss adding something to the project.  Followed directions on documentation pages. Added packages from NuGet and only added SyncFusion.Blazor.Charts....like directed.



2 Replies 1 reply marked as answer

SM Srihari Muthukaruppan Syncfusion Team December 21, 2020 08:56 AM UTC

Hi Tim, 
  
We are glad to announce that our v18.4.30 volume 4 release is rolled out, we have added the fix for the reported scenario. And you can use the latest (18.4.30) Syncfusion.EJ2.Blazor NuGet package version and refer the provided lodash file in the index.html page to get rid of the reported issue. 
 
  
 
Screenshot: 
 
 
Let us know if you have any concerns. 
 
Regards, 
Srihari 


Marked as answer

SM Srihari Muthukaruppan Syncfusion Team December 21, 2020 11:36 AM UTC

Hi Tim, 
 
We look into your problem and also request you to kindly include the lodash script in the HEAD element of the ~/Pages/_Host.cshtml page for server side blazor application. In case, if you are using WASM application, include it in the HEAD element of the ~/wwwroot/index.html page.  This will resolve the reported problem.  

Code Snippet
 
<head> 
 
 
</head> 
 
Please let us know if you need any further assistance. 

 
Regards, 
Srihari M 


Loader.
Up arrow icon