This plugin allows you to export and save CanvasJS Chart's data as JSON. Check out Github Repository for more info / examples.
var chart = new CanvasJS.Chart("chartContainer", {
.
.
.
//Chart Options
.
.
.
});
chart.render();
CanvasJSDataAsJSON(chart, "filename");
Example 1: When exportEnabled property is set to true
Example 2: When exportEnabled property is set to false
Example 3: When exportEnabled property is set to false and zoomEnabled is set to true