Black Lives Matter. Please consider donating to Black Girls Code today.

Plotly scatter and bubbled graph

I need to capture graphs,convert to base64 formatt then save in to server.This capturing is done with html2canvas.This functionality is fine in chrome and Mozilla Firefox.but problem with IE 11 it doesn’t capture the graphs

Please provide solution for this …issue

Thanks in advance @ sunil

Can you show us how you went about it to help us debug? Thanks.

@ViewChild(‘plotlydiv’) plotlydiv: ElementRef;

var elementdiv=this.plotlydiv.nativeElement

html2canvas(elementdiv).then(canvas) {
var base64image = canvas.toDataURL(“image/png”);

// Open the image in a new window
window.open(base64image , "_blank");

});

Thanks in advance