Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
I get the following exception when an Accumulation chart is resized/hidden. It goes away if
AccumulationDataLabelSettings are set to false:
Error: System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Blazor.Charts.Chart.Internal.ChartHelper.GetCharSize(Char character, ChartCommonFont font)
at Syncfusion.Blazor.Charts.Chart.Internal.ChartHelper.MeasureText(String text, ChartCommonFont font)
at Syncfusion.Blazor.Charts.AccumulationChart.Internal.DataLabelModule.RenderDataLabel(AccumulationPoints point, AccumulationDataLabelSettings dataLabel, List`1 points, AccumulationChartSeries seriesValue)
at Syncfusion.Blazor.Charts.AccumulationChartSeries.ProcessingDataLabels(RenderTreeBuilder builder)
at Syncfusion.Blazor.Charts.SfAccumulationChart.InitiateDataLabelProcess(RenderTreeBuilder treebuilder, AccumulationChartSeries series)
at Syncfusion.Blazor.Charts.SfAccumulationChart.RenderSeries(RenderTreeBuilder treebuilder)
at Syncfusion.Blazor.Charts.SfAccumulationChart.RenderSeriesCollection(RenderTreeBuilder builder)
at Syncfusion.Blazor.Charts.SfAccumulationChart.
at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment)
at Syncfusion.Blazor.Charts.SfAccumulationChart.
at Microsoft.AspNetCore.Components.CascadingValue`1.Render(RenderTreeBuilder builder)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.RenderInExistingBatch(RenderQueueEntry renderQueueEntry)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue()