JIT - Saving Spacetree as an image
问题 I'm using JavaScript InfoVis Toolkit (http://thejit.org/) and am trying to save the Spacetree that I output into an image. The Spacetree is outputted to a canvas. This problem is really frustrating me. I have tried: Opening the canvas in a new window Opening the div where the canvas is located in a new window Using Canvas2Image (http://www.nihilogic.dk/labs/canvas2image/) Here is my current Javascript method (tied to a button): function saveImage(div_id) { var canvas = document.getElementById