how do i display a dynamic number of charts? #885
Unanswered
Danishraven
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Im currently working on a home project where i want to display all charts in a list. I have tried the following code and it keeps telling me that "Index was out of range." but when i comment out the LineChart then it runs perfectly. How would you display a collection of charts?
@for (int i = 0; i < lineCharts.Count(); i++)
{
<LineChart @ref="lineCharts[i]" Width="1000" Height="300" />
}
Beta Was this translation helpful? Give feedback.
All reactions