mariusmuntean / ChartJs.Blazor

Brings Chart.js charts to Blazor
https://www.iheartblazor.com/
MIT License
691 stars 152 forks source link

Update to preview6 #31

Closed larshg closed 4 years ago

larshg commented 5 years ago

Dotnet instance handlers not working. Its a little beyond my time and skill to fix those.

larshg commented 5 years ago

Again, the ChartJsInterop.js is dublicated and placed in both content and wwwroot folders. The clientside can reference the js from content and serverside somewhat from wwwroot, as described [here].(https://devblogs.microsoft.com/aspnet/asp-net-core-and-blazor-updates-in-net-core-3-0-preview-6/)

Also, the stripnull method cannot be used, as ExpandoObject is not supported anymore. So I changed it to serialize and deserialize a json string.

Not sure if the DotnetInstance handlers can survive that?