Title says it all. I have a dashboard with three panels. The two panels with bar graphs resize correctly if the browser is toggled to full screen. The treemap doesn't. Similarly if the browser opens in full screen and then is toggled ( using the widget in the top right corner ) to not full screen the treemap again doesn't resize correctly.
|
<SfDashboardLayout>
<DashboardLayoutEvents OnResizeStop="@ResizingHandler"
OnWindowResize="@ResizingHandler">
</DashboardLayoutEvents>
<DashboardLayoutPanels>
<DashboardLayoutPanel>
<ContentTemplate>
<SfTreeMap ID="Treemap" @ref="Treemap" Height="100%">
</SfTreeMap>
<ContentTemplate>
</DashboardLayoutPanel>
</DashboardLayoutPanels>
</SfDashboardLayout>
@code {
SfTreeMap<Country> Treemap;
public async void ResizingHandler()
{
Treemap.RefreshAsync();
}
} |