Bug - Graph Disappears while exporting pdf

The graph vanishes when exporting to pdf. This is because of advance label formatter code used. Although the advance label and graph can be seen in the dashboard, the same is not there in the pdf.

Graph in the dashboard:
image

Disappeared graph in the pdf:
image

Hello @SPSH007
Thanks for bringing this issue to our notice.
We looked into it and found out that internally JS was causing an issue. So if you are writing your own custom code, we recommend using ES5 or previous versions.
For example: Use var instead of let, avoid using .includes.
If you came here after you used the custom label formatting function provided by Phrazor in forums, we have updated the same, so please use the updated version of the code.

Thanks and regards,
Anish Kumar