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
I am just starting with this, I setup my _Host file as you described in the readme and trying to make it as simple as possible based on your sample but I get two errors. First the server code executing throws RuntimeBinderException: ''ChartJs.Blazor.PieChart.PieOptions' does not contain a definition for 'Scale'' and secondly my browser tools show _content/ChartJs.Blazor.Fork/ChartJsBlazorInterop.js not found (404).
See these errors:
Code execution: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: ''ChartJs.Blazor.PieChart.PieOptions' does not contain a definition for 'Scale''
Chrome browser development tools: 404 _content/ChartJs.Blazor.Fork/ChartJsBlazorInterop.js not found.
The text was updated successfully, but these errors were encountered:
Code execution errors: Are these being thrown as exceptions that you need to handle? There are a couple of places in the code where dynamic is being used and trying to access the Scale property, which is available on some of the Options classes, but these exceptions are caught and released. They should not be bubbling up. In other words, if you see them in the output window you can safely ignore them. There is a bit of technical debt there (a quick and dirty approach was taken) so I will see if there is a more elegant method of handling this (probably implement an internal interface or something).
404 error: Make sure the Package ID on the project is the same as the Project Name (or output file name, I can't remember which). I know from experience that changing the Package ID does cause this behavior. Revert to the Package ID to the default value. Also try setting a <base href='/'/> tag in the _Hosts page header.
Describe the bug
I am just starting with this, I setup my _Host file as you described in the readme and trying to make it as simple as possible based on your sample but I get two errors. First the server code executing throws
RuntimeBinderException: ''ChartJs.Blazor.PieChart.PieOptions' does not contain a definition for 'Scale''
and secondly my browser tools show_content/ChartJs.Blazor.Fork/ChartJsBlazorInterop.js not found (404)
.Any help would be much appreciated - thank you!
_Hosts
Which Blazor project type is your bug related to?
Which charts does this bug apply to?
PieChart
To Reproduce
Steps to reproduce the behavior:
Code execution: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: ''ChartJs.Blazor.PieChart.PieOptions' does not contain a definition for 'Scale''
Chrome browser development tools: 404 _content/ChartJs.Blazor.Fork/ChartJsBlazorInterop.js not found.
The text was updated successfully, but these errors were encountered: