﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionMaps v3 / Bug Reports  / how to provide Javascript link in Setdatxml 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>Sat, 06 Sep 2008 23:03:44 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: how to provide Javascript link in Setdatxml Method</title><link>http://www.fusioncharts.com/forum/Topic1686-12-1.aspx</link><description>Hi pallav,&lt;/P&gt;&lt;P&gt;due to the restrictions of the environment i am working with i need to provide the XML. But i fixed that problem on my own by escaping the " in Link with &amp;amp;#34. This works fine.&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Kai Wachter </description><pubDate>Fri, 20 Jul 2007 08:39:11 GMT</pubDate><dc:creator>kaiwachter</dc:creator></item><item><title>RE: how to provide Javascript link in Setdatxml Method</title><link>http://www.fusioncharts.com/forum/Topic1686-12-1.aspx</link><description>Kai,&lt;/P&gt;&lt;P&gt;In dataURL method, you do NOT need to build physical XMLs. You can virtually relay them to chart - like set dataURL=Data.asp&lt;/P&gt;&lt;P&gt;In data.asp, build the XML in a string and do Response.Write(strXML) or print strXML in PHP</description><pubDate>Fri, 20 Jul 2007 02:46:47 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>how to provide Javascript link in Setdatxml Method</title><link>http://www.fusioncharts.com/forum/Topic1686-12-1.aspx</link><description>Hi Guys,&lt;/P&gt;&lt;P&gt;i have problem in implementing dynamic Drill Down Maps. Below is the script i am trying to overhand to the map. the user should be able click on a country. due to server limitations it is not possible to have a static XML File like described in you how-to.&lt;/P&gt;&lt;P&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;/P&gt;&lt;P&gt;var chart1 = new FusionMaps("/sap/bw/mime/customer/ibs/maps/FCMap_Europe.swf", "WEBITEM_2", "635", "452", "0", "0");&lt;/P&gt;&lt;P&gt;chart1.setDataXML("&amp;lt;Map animation='0' showLables='1' includeNameInLabels='1' includeValueInLabels='0' showShadow='1' showBevel='1' defaultAnimation='1'&amp;gt;&amp;lt;data&amp;gt;&amp;lt;entity  value='4687' id='014' color='' link="WEB_ITEM_1_DrillDownForChar('DE','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='844' id='014' color='' link="WEB_ITEM_1_DrillDownForChar('DI','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='5113' id='010' color='' link="WEB_ITEM_1_DrillDownForChar('DK','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='740' id='010' color='' link="WEB_ITEM_1_DrillDownForChar('DO','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='5130' id='038' color='' link="WEB_ITEM_1_DrillDownForChar('ES','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='568' id='013' color='' link="WEB_ITEM_1_DrillDownForChar('FR','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='4889' id='019' color='' link="WEB_ITEM_1_DrillDownForChar('IT','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='922' id='019' color='' link="WEB_ITEM_1_DrillDownForChar('MI','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='975' id='028' color='' link="WEB_ITEM_1_DrillDownForChar('MO','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='4625' id='029' color='' link="WEB_ITEM_1_DrillDownForChar('NL','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='4347' id='031' color='' link="WEB_ITEM_1_DrillDownForChar('PL','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='4737' id='046' color='' link="WEB_ITEM_1_DrillDownForChar('RU','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='606' id='046' color='' link="WEB_ITEM_1_DrillDownForChar('SA','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='4503' id='039' color='' link="WEB_ITEM_1_DrillDownForChar('SE','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='595' id='039' color='' link="WEB_ITEM_1_DrillDownForChar('SO','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='3961' id='042' color='' link="WEB_ITEM_1_DrillDownForChar('UK','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;entity  value='47242' id='042' color='' link="WEB_ITEM_1_DrillDownForChar('Overall Result','OD_REGION','DATAPROVIDER_2','OD_COUNTRY','FCMap_Germany.swf');" /&amp;gt;&amp;lt;/data&amp;gt;&amp;lt;colorRange&amp;gt;&amp;lt;color minValue='0' maxValue='600' DisplayValue='Lower than requested' color='FF0000' /&amp;gt;&amp;lt;color minValue='600' maxValue='1000' DisplayValue='Less than Middle' color='FFC0C0' /&amp;gt;&amp;lt;color minValue='1000' maxValue='4000' DisplayValue='Middle Bound' color='FF8000' /&amp;gt;&amp;lt;color minValue='4000' maxValue='5000' DisplayValue='Okay' color='80FF80' /&amp;gt;&amp;lt;color minValue='6000' maxValue='10000' DisplayValue='Excellent' color='00C000' /&amp;gt;&amp;lt;/colorRange&amp;gt;&amp;lt;/Map&amp;gt;");&lt;/P&gt;&lt;P&gt;chart1.render("divWEBITEM_2");&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;but unfortunatelly the resulting HTML page results in Javascript errors. It mus be somehow escaped. Please assist.&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Kai Wachter</description><pubDate>Thu, 19 Jul 2007 13:38:10 GMT</pubDate><dc:creator>kaiwachter</dc:creator></item></channel></rss>