exportEnabled: Boolean

Setting exportEnabled to true lets you to export StockChart as an image in JPG / PNG formats or to print it.

Default: false
Options: true, false

var stockChart = new CanvasJS.StockChart("container",
 exportEnabled: true,

Try it Yourself by Editing the Code below.

  Also See:    

If you have any questions, please feel free to ask in our forums.Ask Question