You need to sign in to do that
Don't have an account?
![Mani deepu Mani deepu](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
send chart as an excel format in lightning component?
Hi All,
I have displayed chart in lightning component using <canvas>
Now i want to send that chart as an attachment in email when click on ''send Email" button.Can you Please anyone help me with how to send as an excel format in the lightning component.
Thanks
I have displayed chart in lightning component using <canvas>
Now i want to send that chart as an attachment in email when click on ''send Email" button.Can you Please anyone help me with how to send as an excel format in the lightning component.
Thanks
![sai sekhar 1 sai sekhar 1](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
You have to call this component in a lightning all and call the lightning app in a vf page and use contentType="application/vnd.ms-excel#SalesForceExport.xls" in vf page. Give it a try.