Chart Image export

I need to print chart and also a custom header component, which I am showing as a div above the chart component. When I pass to “parent” component id in download Image as first pram a blank image in exported which just contains x and y axis.

HAEAR

I want to print all content inside “parent” div. Browser print is copping chart. So can I print this using Ploty Image export??
As of now export only works fine if I give “chartDiv” as if to image export.