How to import a chart in Extjs 5 as an image in a PDF file?

156 Views Asked by At

Im using ExtJS 5 charts. I want to import the chart as an image and add it to a PDF file on the server side. However I'm not able the chart as an image at all. Please let me know how i can solve this. Thanks

1

There are 1 best solutions below

3
yorlin On BEST ANSWER

Use getImage method of the chart to get an Image object.