PDA

View Full Version : how to use SVGexporter in converting chart to image



lakpriya
24 Sep 2012, 7:14 PM
When I try to use the SVG exporter, I am getting the error as "Ext.draw.engine.SvgExporter.generate is null or not an object"


eg:
var svgstribg=Ext.draw.engine.SvgExporter.generate(Ext.getCmp('chart').surface);

I am trying to pass this 'svgstribg' as svg string to the server.

Anyone can help me out?

mitchellsimoens
26 Sep 2012, 7:32 AM
Did you require the SvgExporter class?