SfAccumulationChart renders twice

I am having trouble with the SfAccumulationChart rendering twice in a Blazor component (the html captured in fact has two form tags). I strongly suspect this has to do with the component being rendered multiple times which is apparently standard Blazor behavior. I have tried setting a @key value, no help. Worst, it works correctly when run from VS2019 but displays two charts when deployed to a commercial web site. I am including the Blazor component, the cshtml call is:

<div class="card-body">

    <component>

        @(await Html.RenderComponentAsync<FPSII.Pages.Components.DailyProductionDisposition>(RenderMode.ServerPrerendered))

    </component>

 </div>


 I am also including the html from the browser.

 Scott



Attachment: Components_132eefde.zip

1 Reply

DG Durga Gopalakrishnan Syncfusion Team July 1, 2021 04:15 PM UTC

Hi Scott, 

We have rendered accumulation chart in cshtml as per attached snippet and saved the HTML from web page. Chart is rendered only one time in that generated HTML page. We have attached tested sample and generated HTML for your reference. 



If you are still facing the problem, please try to replicate an issue in above sample link or share us issue reproduced sample so that it will be helpful for us to proceed further. 

Regards, 
Durga G

Loader.
Up arrow icon