System.ArgumentOutOfRangeException

Hi I have got some error. Can you please help me?

blazor.server.js:8 Uncaught (in promise) Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'Step must be greater than zero')
at Radzen.Blazor.LinearScale.ValidateStep(Object step)
at Radzen.Blazor.ScaleBase.set_Step(Object value)
at Radzen.Blazor.ScaleBase.Fit(Int32 distance)
at Radzen.Blazor.RadzenChart.UpdateScales()
at Radzen.Blazor.RadzenChart.Refresh(Boolean force)
at Radzen.Blazor.RadzenChart.Resize(Double width, Double height)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.InvokeSynchronously(JSRuntime jsRuntime, DotNetInvocationInfo& callInfo, IDotNetObjectReference objectReference, String argsJson)
at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, String argsJson)

I have no idea why I got this error.

Hi @sukh,

Welcome to the Radzen community!

Unfortunately the provided information does not indicate the source of this problem. You can check the forum FAQ for some tips how to improve your question.

This error would come since I had used radzen chart in my web app.

1 Like