I need to send a vizframe to email, to achieve this I converted the chart into an image. but I am unable to add this image to my email.
I can do same thing for text but not for an image.
i.e.: new sap.m.Text({text: "stackoverflow"}).getText() does the job for me. any help will be highly appreciated.