Skip to content

Save as zoomed image with d3 canvas #3536

Answered by neo6053
neo6053 asked this question in Q&A
Discussion options

You must be logged in to vote

Nvm, found a workaround. I end up resizing the actual canvas on the screen, then redraw, then canvas.toDataURL(). Then revert the size after downloading image.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Fil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant