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,
 .
 .
});
stockChart.render();

Try Editing The Code

  Also See:    


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