Iam doing screenshot using html2canvas with this method:
makeScreenshot: function (button) {
html2canvas(document.body, {
onrendered: function(canvas) {
new Ext.Window({
title: 'Screenshot',
width: 800,
height: 600,
resizable: true,
autoScroll: true,
preventBodyReset: true,
html: '<img src="' + canvas.toDataURL("image/png") + '" height="800"/>'
}).show();
}
});
}
getting this screenshot (on the image left dialog/window named Screeshot)
as you can see, google map is not generated, just circles. also a charts ar not in the screenshot. what is wrong?