Hello,
i have a DashboardLayout with no Items to start. I want to add Panels with Code. My Problem is, that after i added a Panel and the content has loaded, the Panel changes in Size.
See Pictures for reference.
- This is immediatly after adding (Picture 1)
- This is after the content loaded (Picture 2)
- This is after i moved the Panel with Drag n Drop. The Panel has now the right Size but the content is overflowing inside.(Picture 3)

The content of the Panel i load is a SfChart with following Settings:
<SfChart Width="100%" Height="100%" @ref="@Barchart" Background="@BackgroudColor">
...
</SfChart>
If i set fixed Height in pixels for the Component it doesnt overflow, but i want to have it responsive.
Thanks in advance!