I keep getting this error when rendering some of my chart through StateIsChanged(). I am calculating my range automatically, which could be set after data has been loaded.
For some reason the visual range of my YAxis is NaN. I could use some help understanding what could be causing this.
Line: 30
System.OverflowException: Arithmetic operation resulted in an overflow.
at System.Convert.ToInt64(Double value)
at Syncfusion.Blazor.Charts.Internal.LineBaseSeriesRenderer.GetLineDirection(Double firstPointX, Double firstPointY, Double secondPointX, Double secondPointY, Boolean isInverted, String startPoint)
at Syncfusion.Blazor.Charts.Internal.LineSeriesRenderer.CalculateDirection()
at Syncfusion.Blazor.Charts.Internal.LineSeriesRenderer.RenderSeries()
at Syncfusion.Blazor.Charts.Internal.ChartSeriesRenderer.SeriesRenderer()
at Syncfusion.Blazor.Charts.Internal.ChartSeriesRenderer.HandleChartSizeChange(Rect rect)
at Syncfusion.Blazor.Charts.Internal.ChartSeriesRendererContainer.HandleChartSizeChange(Rect rect)
at Syncfusion.Blazor.Charts.SfChart.PerformLayout()
at Syncfusion.Blazor.Charts.SfChart.OnAfterRenderAsync(Boolean firstRender)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)