﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts Free / XML Issue  / Problem with dataURL method / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Tue, 02 Dec 2008 08:05:24 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Problem with dataURL method</title><link>http://www.fusioncharts.com/forum/Topic1581-41-1.aspx</link><description>This message is displayed when you're using a single series SWF file and providing data in multi-series format (or vice versa). Please check for that.</description><pubDate>Mon, 16 Jul 2007 22:59:21 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>Problem with dataURL method</title><link>http://www.fusioncharts.com/forum/Topic1581-41-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt; In my jsp, I am using dataURL method to render the chart. I am giving path of another jsp which contains the chart xml. But it does not render the chart and gives this message :&lt;/P&gt;&lt;P&gt;"No data to display"&lt;/P&gt;&lt;P&gt;This is my javascript function;&lt;/P&gt;&lt;P&gt;function drawChart1(metricValue)&lt;BR&gt;{ &lt;BR&gt; &lt;BR&gt; var myChart = new FusionCharts("&amp;lt;%=contextRoot%&amp;gt;/charts/MSCombi2D.swf", "CombinationExposure", "750", "250", "0", "1") ;&lt;BR&gt; strURL = "&amp;lt;%=contextRoot%&amp;gt;/jsps/facility/exposures/NewData.jsp";&lt;BR&gt;  myChart.setDataURL(strURL); &lt;BR&gt; myChart.render("chartdiv") ;&lt;BR&gt;}&lt;/P&gt;&lt;P&gt;And this is my NewData.jsp :&lt;/P&gt;&lt;P&gt;&amp;lt;%&lt;BR&gt;response.setContentType("text/xml");&lt;BR&gt;%&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;chart&amp;gt;&lt;BR&gt;&amp;lt;set label='B' value='12' /&amp;gt;&lt;BR&gt;&amp;lt;set label='C' value='10' /&amp;gt;&lt;BR&gt;&amp;lt;set label='D' value='18' /&amp;gt;&lt;BR&gt;&amp;lt;set label='E' value='21' /&amp;gt;&lt;BR&gt;&amp;lt;/chart&amp;gt;&lt;BR&gt;&lt;/P&gt;&lt;P&gt;When I am pasting the url of the jsp in browser, it is displaying the xml properly.&lt;/P&gt;&lt;P&gt;Please let me know what could be the possible reason behind this. How to solve this?</description><pubDate>Tue, 10 Jul 2007 05:04:32 GMT</pubDate><dc:creator>hakim_hanif</dc:creator></item></channel></rss>