Hi Abdul,
Greetings from Syncfusion.
We suggest you to call the chart refresh method in
dashboard layout resizeStop event to re-render the chart while resizing
the panel. Please check with the below snippet and API reference link.
<ejs-dashboardlayout (resizeStop)='onPanelResize($event)'>
//…
<ejs-chart
#chart></ejs-chart>
//…
</ejs-dashboardlayout>
@ViewChild("chart")
public chart: ChartComponent;
function onPanelResize(args) {
this.chart.height = '100%';
this.chart.width = '100%';
this.chart.refresh();
}
|
API Reference : https://ej2.syncfusion.com/angular/documentation/api/dashboard-layout/#resizestop
Kindly revert us if you have any concerns.
Regards,
Durga Gopalakrishnan.