Chart disappear on Blazor Server Side

TeeChart for JavaScript for the HTML5 Canvas
Post Reply
Jason
Newbie
Newbie
Posts: 2
Joined: Tue Jan 03, 2023 12:00 am

Chart disappear on Blazor Server Side

Post by Jason » Wed Feb 01, 2023 5:33 pm

Hi,
I am using the following example from GitHub to load a chart on my server side blazor .net core 6.

https://github.com/Steema/TeeChart-NET- ... BlazorNET5

Unfortunately the chart disappear from canvas. If I press F5 to reload the page the chart appeared and disappear on a second.

Also I have another problem if you help me to resolve that issue. I need the Chart to load on button click and not on page load.

I would like to mention also that the blazor server render mode is server-pre-rendered because I am using rad zen controls and need that mode to work.

I will appreciate any help.

Jason
Newbie
Newbie
Posts: 2
Joined: Tue Jan 03, 2023 12:00 am

Re: Chart disappear on Blazor Server Side

Post by Jason » Thu Feb 02, 2023 8:24 am

Following my previous post, attached is a sample blazor server project on .net core 7 doing exactly what I had described.
Attachments
RenoptiTrader.UI.zip
(10.03 KiB) Downloaded 1331 times

Yeray
Site Admin
Site Admin
Posts: 9617
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Chart disappear on Blazor Server Side

Post by Yeray » Thu Feb 02, 2023 12:20 pm

Hello,

I see our demo works with NET 5 and reproduces the disappearing chart from NET 6.
We'll try to make a Blazor server demo in NET 6 or NET 7 as soon as possible.
At this point I'm not sure if it will require any modification in our library or just in the example.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9617
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Chart disappear on Blazor Server Side

Post by Yeray » Fri Feb 03, 2023 10:13 am

Hello,

Find here the Blazor server demo working in NET6.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply