Home forums Using CanvasJS How to display Donut Chartsas a static image (png, jpg) Reply To: How to display Donut Chartsas a static image (png, jpg)

#27159

@sebastian,

You can get base64 image of chart using toDataURL. And passing this image as image source will work in your case. Please check this JSFiddle.

If you are still facing issue, kindly create JSFiddle reproducing the same and share it with us so that we can look in to the code, understand the use-case better and help yo out.


Vishwas R
Team CanvasJS