Hi David
To achieve the desired functionality, we have prepared a sample that demonstrates how to show the spinner in the center of the chart while the data is loading. In the sample, we utilize the OnInitializedAsync() method to initially show the spinner, and once the chart is loaded, we hide the spinner.
protected override async Task OnInitializedAsync() { this.Visible = true; } public async void LoadedEvent(LoadedEventArgs args) { await Task.Delay(1000); await SpinnerObj.HideAsync(); } |
Regards,
Mallesh
Attachment: WASM_d50bd142.zip