This jsfiddle shows how to export a Highcharts chart to a png file, however doesn't show how to specify the file name.
Something like
var image = canvas.toDataURL("image/png")
.replace("image/png", "image/octet-stream");
image.filename = "file.png"; <=== this doesn't work
// Save locally
window.location.href = image;
Any ideas?