4 ms·
How do you do that? I right-clicked on some graph, but there is not "Save Image As" option in Chrome
by shared4you 14y ago
How do you do that? I right-clicked on some graph, but there is not "Save Image As" option in Chrome
- johnyzee 14y agoIt's a canvas API function. So the author has to add this function (which is trivial).
- nickporter 14y agoOn the docs page, in Chrome, hit ctrl+shift+J (option+cmd+J on OSX) to open the console, and paste this in: $('canvas').click(function() { window.open( this.toDataURL("image/png") , 'Serialized Canvas' , 'height=' + this.height + 'width=' + this.width ); }); This will popup a png version of a canvas graph if you click it.