Scrubles Report post Posted May 21, 2014 So, I was trying to use the getDataAsCSV() function from the 'instance-getDataAsCSV.html' I downloaded,but it doesn't work, when I go to the console it doesn't even appear as option to use, then I tried on this http://docs.fusioncharts.com/charts/Code/JavaScript/Basics/Functions/instance-getDataAsCSV.html, and it seems to be working fine. When I compared the myChart objects I got this: Mine a.core {__state: Object, id: "myChartId", args: Object, options: Object, attributes: Object…} __state: Object addVariable: function (){a.raiseWarning(this,"1012141919","run","FlashRenderer~addVariable()",'Use of deprecated "addVariable()". Replace with "configure()".');a.core.prototype.configure.apply(this,arguments)} args: Object attributes: Object flashVars: Object getSWFHTML: function (){var a=g.createElement("span"),b=g.createElement("span"),c="RnVzaW9uQ2hhcnRz"+(new Date).getTime();a.appendChild((;b.setAttribute("id",c);a.style.display="none";g.getElementsByTagName("body")[0].appendChild(a);f.swfobject.embedSWF(this.src,c,this.width,this.height,"8.0.0",void 0,this.flashVars,this.params,this.attrs); height: "300" id: "myChartId" link: h options: Object params: Object ref: object#myChartId.FusionCharts registerObject: function (){} setDataURL: function (({a.raiseWarning(this,"11033001082","run","GenericRuntime~setDataURL()",'Use of deprecated "setDataURL()". Replace with "setXMLUrl()".'); setDataXML: function (({a.raiseWarning(this, setTransparent: function (a){typeof a!=="boolean"&&a!==null&&(a=!0);this.params.wMode=a===null?"window":a===!0?"transparent":"opaque"} src: "../../../../Charts/Column3D.swf" width: "400" __proto__: Object From the Site a.core {__state: Object, id: "myChartId", args: Object, options: Object, attributes: Object…} __state: Object addVariable: function (){a.raiseWarning(this,"1012141919","run","FlashRenderer~addVariable()",'Use of deprecated "addVariable()". Replace with "configure()".');a.core.prototype.configure.apply(this,arguments)} args: Object attributes: Object cancelExport: function (){if(this.ref===void 0||this.ref===null||typeof this.ref!=="function")a.raiseError(this,"25081617","run","~"+b+"()","ExternalInterface call failed. Check whether chart has been rendered.");else return this.ref.apply(this.ref,arguments)} exportChart: function (){if(this.ref===void 0||this.ref===null||typeof this.ref!=="function")a.raiseError(this,"25081617","run","~"+b+"()","ExternalInterface call failed. Check whether chart has been rendered.");else return this.ref.apply(this.ref,arguments)} flashVars: Object getDataAsCSV: function (){if(this.ref===void 0||this.ref===null||typeof this.ref!=="function")a.raiseError(this,"25081617","run","~"+b+"()","ExternalInterface call failed. Check whether chart has been rendered.");else return this.ref.apply(this.ref,arguments)} getSWFHTML: function (){var a=g.createElement("span"),b=g.createElement("span"),c="RnVzaW9uQ2hhcnRz"+(new Date).getTime();a.appendChild((;b.setAttribute("id",c);a.style.display="none";g.getElementsByTagName("body")[0].appendChild(a);f.swfobject.embedSWF(this.src,c,this.width,this.height,"8.0.0",void 0,this.flashVars,this.params,this.attrs); getXML: function (){if(this.ref===void 0||this.ref===null||typeof this.ref!=="function")a.raiseError(this,"25081617","run","~"+b+"()","ExternalInterface call failed. Check whether chart has been rendered.");else return this.ref.apply(this.ref,arguments)} hasRendered: function (){if(this.ref===void 0||this.ref===null||typeof this.ref!=="function")a.raiseError(this,"25081617","run","~"+b+"()","ExternalInterface call failed. Check whether chart has been rendered.");else return this.ref.apply(this.ref,arguments)} height: "300" id: "myChartId" link: h options: Object params: Object print: function (){if(this.ref===void 0||this.ref===null||typeof this.ref!=="function")a.raiseError(this,"25081617","run","~"+b+"()","ExternalInterface call failed. Check whether chart has been rendered.");else return this.ref.apply(this.ref,arguments)} ref: object#myChartId.FusionCharts registerObject: function (){} saveAsImage: function (){if(this.ref===void 0||this.ref===null||typeof this.ref!=="function")a.raiseError(this,"25081617","run","~"+b+"()","ExternalInterface call failed. Check whether chart has been rendered.");else return this.ref.apply(this.ref,arguments)} setDataURL: function (({a.raiseWarning(this,"11033001082","run","GenericRuntime~setDataURL()",'Use of deprecated "setDataURL()". Replace with "setXMLUrl()".'); setDataXML: function (({a.raiseWarning(this, setTransparent: function (a){typeof a!=="boolean"&&a!==null&&(a=!0);this.params.wMode=a===null?"window":a===!0?"transparent":"opaque"} signature: function (){if(this.ref===void 0||this.ref===null||typeof this.ref!=="function")a.raiseError(this,"25081617","run","~"+b+"()","ExternalInterface call failed. Check whether chart has been rendered.");else return this.ref.apply(this.ref,arguments)} src: "../../../../Charts/Column3D.swf" width: "400" __proto__: Object Could it be because mine is trial and I can't access those functions? I would also like to use the exportChart, if someone can help or explains, thanks. Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted May 21, 2014 Hi, Could you please let us know the version of FusionCharts XT you are using at your end? to know the version details, please open the "FusionCharts.js" file in any if the text editor and see first few commented lines. However, please note that there is no feature limitation in the Evaluation/Trial version of FusionCharts Suite XT, except for the fact that the evaluation version charts are watermarked. Awaiting your valuable response. Share this post Link to post Share on other sites
Scrubles Report post Posted May 21, 2014 FusionCharts JavaScript Library Copyright FusionCharts Technologies LLP License Information at <http://www.fusioncharts.com/license> @version fusioncharts/3.3.1-sr3.21100 @attributions (infers respective third-party copyrights) Raphael 2.1.0 (modified as "Red Raphael") <http://raphaeljs.com/license.html> SWFObject v2.2 (modified) <http://code.google.com/p/swfobject/> JSON v2 <http://www.JSON.org/js.html> jQuery 1.8.3 <http://jquery.com/> Firebug Lite 1.3.0 <http://getfirebug.com/firebuglite> Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted May 30, 2014 Hi, I am afraid, we are able to get the CSV data using "getDataAsCSV()" method with the same version that you are using. Please find the attached screen shot of the same for your reference. Share this post Link to post Share on other sites