How to set dynamic @ref to multiple components in telerik chart control?
b_r
12
Points
1
Posts
|
I have multiple chart component in single page and I'm using @ref for resizing chart. But it working for last render chart only.
As mentioned in documentation: https://docs.telerik.com/blazor-ui/components/mediaquery/integration#chart-integration Most likely I need to set @ref for each component dynamically.
|
Answers
Smith
2830
Points
78
Posts
|
Use follwong reference to set dynamic @ref to multiple components: https://docs.telerik.com/blazor-ui/knowledge-base/common-dynamic-refs In your case use following (chartd.Id is any unique id (integer in the example)):
And
Posted On:
30-Jan-2024 23:59
|
Blog
Active User (0)
No Active User!