You need to sign in to do that
Don't have an account?

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

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.