• Content count

  • Joined

  • Last visited

About DavidG

  • Rank
    Forum Newbie
  1. Svg, Ajax, And The Jsvars

    Hi Again I managed to fix my error, I wasnt importing explicitly all the libraries needed. Now the object is accessible and the getSVGString is working however the same issue from a few posts ago is still outstanding. After calling getSVGString once the next call throws an error.
  2. Hi, I am currently trying to send via AJAX the svg image back to the server from a chart. My current problem is that I cant get the svg programatically, Ive noticed the method getSVGString inside myChart2.jsVars.hcObj however i cant seem to access hcObj FusionCharts.setCurrentRenderer('javascript'); var myChart1 = new FusionCharts("Column2D.swf", "myChartId1", "350", "300", "0", "1"); myChart1.setXMLUrl("../xml/SimpleExample.xml"); myChart1.render("chart1div"); console.log(myChart2.jsVars.hcObj); //--->> comes out as undefined Is there any way to get the svg data programatically with some method to send back to the server? why cant I access the hcObj?