Re:Chart.js - open source HTML5 charting library
by hogu on Monday March 18, 2013 @03:47AM
(#5392957)
well, it's pretty easy to go from canvas to png, which I think is more portable than svg + css
[ Parent
| on HN ]
Re:Chart.js - open source HTML5 charting library
by shared4you on Monday March 18, 2013 @04:23AM
(#5393045)
How do you do that? I right-clicked on some graph, but there is not "Save Image As" option in Chrome
Re:Chart.js - open source HTML5 charting library
by nickporter on Monday March 18, 2013 @05:42AM
(#5393257)
On 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.