exportFileName: String

While exporting StockChart, “StockChart” is used as the default name with corresponding extensions “jpg” or “png”. The default file name can be overridden using exportFileName property.

Default: StockChart
Examples: “CanvasJS StockChart”, “2020 Stock Data”, …
var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 exportFileName: "Analysing Stock Market",
 .
 .
});
stockChart.render();

Try Editing The Code

  Also See:    


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