You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to correctly use BarCharts with data from asynchrounous call in OnInitializedAsync. I have a situation where I need to get data from an API, and then use that data to render the charts (or at least populate the data). When I run the code in the section below, I get the error in the attached image.
Which Blazor project type is your question related to?
Server-Side
Which charts is this question related to?
BarChart
Additional context
I have made a oversimplified example that illustrates what I am trying to do. Hope this provides enough information for you to help me.
Describe your question
How to correctly use BarCharts with data from asynchrounous call in OnInitializedAsync. I have a situation where I need to get data from an API, and then use that data to render the charts (or at least populate the data). When I run the code in the section below, I get the error in the attached image.
Which Blazor project type is your question related to?
Which charts is this question related to?
BarChart
Additional context
I have made a oversimplified example that illustrates what I am trying to do. Hope this provides enough information for you to help me.
I have the following code:
Image of error:
![image](https://user-images.githubusercontent.com/41802977/125778986-a166b8fc-10a9-4ecd-8415-ebee027999f7.png)
The text was updated successfully, but these errors were encountered: