dojox.charting

export/convert chart from dojo charting to image

邮差的信 提交于 2019-11-30 18:06:21
问题 can anyone tell me if it is possible to convert a dojo charting object into an îmage file? I need this as I want to export an Excel file from a webpage containing some data and the representing chart. The only thing I found is http://dojotoolkit.org/reference-guide/dojox/gfx/utils/toSvg.html#dojox-gfx-utils-tosvg but I do not really know how to proceed with the output of that function. Thanks you! 回答1: What you found will work as long as you know what to do with SVG (e.g., rasterize it using