function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mani deepuMani deepu 

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.

sai sekhar 1sai sekhar 1
You have to call this component in a lightning all and call the lightning app in a vf page and use contentType="application/"  in vf page. Give it a try.