标签: canvas svg plot jqplot
如何从jqplot实例获取canvas对象,然后将其转换为svg对象?类似的东西:
var myPlot = $.jqplot('plotdiv', [[[1, 2],[3,5.12]]]); var myPlotCanvas = myPlot.getCanvas(); var myPlotSVG = canvasToSVG(myPlotCanvas);