-
Notifications
You must be signed in to change notification settings - Fork 661
Description
Is your feature request related to a problem? Please describe.
I have a Blazor Server app, and would like to use LiveCharts2.
I know it is not possible to use LiveCharts2 directly in server-side rendering, apart from just generating image files.
I believe normally Blazor could use different rendering techniques for different parts of the page. The Blazor documentation shows that it is possible to enable WASM to be used within a Blazor Server project.
However, LiveCharts2 / SkiaSharpView does not seem to work that way. I keep getting errors like
System.NotSupportedException: Cannot create a component of type 'MyProject.Components.TimelineChart' because its render mode 'Microsoft.AspNetCore.Components.Web.InteractiveWebAssemblyRenderMode' is not supported by interactive server-side rendering.
Describe the solution you'd like
Confirmation whether or not it is possible to use LiveCharts2 as a WASM component within a Blazor Server page, e.g. using different render modes.
- If it is possible, could you please give some details on how to do that?
- If it is not yet possible, could you please take this as a feature request?
- If it is not technically possible at all, it's also good to know.
Describe alternatives you've considered
- Moving entire app to WASM rendering model
- Using a different charting library
Additional context
Add any other context or screenshots about the feature request here.