Hi RakhiS,
We have checked your reported query. For your reference, we have prepared a sample for DashboardLayout in below methods.
1. Inline rendering (Default functionalities)
2. Using DashboardLayout tag (using properties).
Sample link for inline rendering.
Sample link for DashboardLayout tag (using property).
Note: If you are using inline rendering, it is mandatory to refresh the inner components (like chart) during created() event for dashboard layout. Or else you can use panels property to define the panels and its inner components. In that case, there is no need for calling the refresh() method.
Please let us know, if you need any further assistance.
Regards,
Sowmiya.P