You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 29, 2022. It is now read-only.
Chart on client-side is not rendered and the following error is shown on the browser console
WASM: Error while setting up chart: Constructor on type 'System.ComponentModel.ReferenceConverter' not found.
Which Blazor project type is your bug related to?
Client-Side
Which charts does this bug apply to?
Line Chart but i had not the time to test on them all
To Reproduce
Steps to reproduce the behavior:
Using this version of ChartJSBlazor '0.10.3-preview'.
Using .net core 3.0.0
Run a copy of the LineLinearExample from commit 80ce217.
Expected behavior
The chart to be drawn unto the screen
Correction found
Searching a bit I found a solution on this link JamesNK/Newtonsoft.Json#2020, it seems to be a problem with Newtonsoft.Json but I'm not sure if it should be corrected by them
//the following line on the page/component that renders the chart corrected to the spected behavior@usingSystem.ComponentModel;privateReferenceConverterReferenceConverter=newReferenceConverter(typeof(ChartJsLineChart));