Home forums Feature Requests & Feedback Export Chart as Image/Get chart data as Base64 format Reply To: Export Chart as Image/Get chart data as Base64 format

#11465

Vishwas R
Keymaster

Sathya,

You can use toDataURL to export chart with the help of initMouseEvent. Here is an example.

Or you can perform same by setting exportEnabled to true and auto-clicking the link of format of image you like to save as shown in this example. In both the cases, images will in base64 format.

CanvasJS Export as Image