The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
If you attach on event Loaded and try to change a state of the variable you define it won't work, it changes it in that function scope but once you are out of it it goes back to its original value.
DGDurga Gopalakrishnan Syncfusion Team December 31, 2020 03:38 PM UTC
Hi Jovan,
The chart Loaded event will be triggered after chart is loaded. We can perform the changes in DOM elements which are ready to append. All calculations are performed before Loaded itself. So, we have prepared sample to change the radius of doughnut chart on button click.
Hi, i think we misunderstood each other, I provided an example based on your example, i want dynamically to change title once SfAccumulationChart is loaded but that is not happening. Attachment: AccChart486658624_4da90be.rar
DGDurga Gopalakrishnan Syncfusion Team January 4, 2021 11:15 AM UTC
Hi Jovan,
We suggest you call StateHasChanged method to change the h1 tag title value. We have attached the modified sample for your reference.
public void Loaded(AccumulationLoadedEventArgs eventArgs)