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've been using OnPointRender to change the fill colour of columns per your example:
https://blazor.syncfusion.com/documentation/chart/events#onpointrender
This has been working fine in 23.2.7 in a .NET 8 Blazor Web project.
I've just tried updating to the latest nuget package 24.1.46 and this is now broken and I'm getting the following exception:
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Could not resolve type with token 010000c5 from typeref (expected class 'Syncfusion.Blazor.Charts.Point' in assembly 'Syncfusion.Blazor.Charts, Version=24.1.46.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89')
System.TypeLoadException: Could not resolve type with token 010000c5 from typeref (expected class 'Syncfusion.Blazor.Charts.Point' in assembly 'Syncfusion.Blazor.Charts, Version=24.1.46.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89')
at Syncfusion.Blazor.Charts.Internal.ColumnBaseRenderer.TriggerEvent(Point point, String fill, BorderModel border)
at Syncfusion.Blazor.Charts.Internal.ColumnSeriesRenderer.CalculateColumnPathOption()
at Syncfusion.Blazor.Charts.Internal.ColumnSeriesRenderer.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)
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Could not resolve type with token 010000c5 from typeref (expected class 'Syncfusion.Blazor.Charts.Point' in assembly 'Syncfusion.Blazor.Charts, Version=24.1.46.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89')
System.TypeLoadException: Could not resolve type with token 010000c5 from typeref (expected class 'Syncfusion.Blazor.Charts.Point' in assembly 'Syncfusion.Blazor.Charts, Version=24.1.46.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89')
at Syncfusion.Blazor.Charts.Internal.ColumnBaseRenderer.TriggerEvent(Point point, String fill, BorderModel border)
at Syncfusion.Blazor.Charts.Internal.ColumnSeriesRenderer.CalculateColumnPathOption()
at Syncfusion.Blazor.Charts.Internal.ColumnSeriesRenderer.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)