laurent25 Report post Posted June 10, 2011 Hello, I'm using RoR and when i try to pass data to my chart using a url i got this error: INFO: XML Data provided using dataXML method. ERROR: Invalid XML encountered. A start-tag is not matched with an end-tag. Click the above "dataURL Invoked" link to see the XML in browser Or check the XML data provided. But if I open the url in my browser, copy past its content to a var in my action then pass it as data to my chart it works... Any idea why? data.txt Share this post Link to post Share on other sites
Sanjukta Report post Posted June 10, 2011 Hi, Could you please confirm if you are using "setXMLData" or "setXMLUrl" method to pass the JSON data? If yes, please try using "setJSONData"/ "setJSONUrl" method instead, to render the chart. In case if this does not resolve, please send us the sample HTML code that you are using. Looking forward to your reply. Share this post Link to post Share on other sites
laurent25 Report post Posted June 10, 2011 Hi, Could you please confirm if you are using "setXMLData" or "setXMLUrl" method to pass the JSON data? If yes, please try using "setJSONData"/ "setJSONUrl" method instead, to render the chart. In case if this does not resolve, please send us the sample HTML code that you are using. Looking forward to your reply. I'm not using any method to pass my JSON atm. I use ETX JS so I have a compoment like this: { xtype: 'fusionpanel', fusionCfg: { swfUrl: 'images/charts/Line.swf', width: "600", height: "300", registerWithJS: true, }, data: @customers_data } Where @customers_data is my var where my json is stored. Those methods you mentioned, are there JS function from FusionCharts JS? Should I have something like data: setJSONUrl(my_url) ? Share this post Link to post Share on other sites
FusionCharts Support Report post Posted June 28, 2011 Can you share (as attachment) with us a scale down sample of your implementation so that we check it out? Share this post Link to post Share on other sites