percyspooner Report post Posted July 7, 2010 Hi all. My company has recently purchased a license for Fusion Charts and I've recently come across a problem that I cannot solve. When I'm adding a link to the chart, one of the parts of the link contains an ampersand (M&D). I have replaced the ampersand with %26 as per HTML standard but when I then click on the chart and are brought to the page with the link, the %26 is translated back into an ampersand in the URL. So I have link='http://www.blablabla.jsp?ordid=M%26D' in my XML which doesn't cause any errors with the chart, I click on it and in the URL, I see http://www.blablabla.jsp?ordid=M&D which really messes things up for me. I am using java to generate the XML too but that should have nothing to do with the problem Thanks in advance Share this post Link to post Share on other sites
Sanjukta Report post Posted July 7, 2010 Hi, Welcome to FusionCharts Forum. Could you please try setting the attribute 'unescapeLinks' to '0' in <chart> element of your XML? Hope this helps. Share this post Link to post Share on other sites
percyspooner Report post Posted July 7, 2010 Sanjukta Mukherjee (7/7/2010)Hi, Welcome to FusionCharts Forum. Could you please try setting the attribute'unescapeLinks' to '0' in <chart> element of your XML? Hope this helps. Hi Sanjukta, Thanks for the reply I tried using unescapeLinks but it made no difference When I view the source code, the link is printed as "customername=AT%26T Wireless" When I click on the chart then, it translates the %26 to & as follows customername=AT&T%20Wireless Thanks Share this post Link to post Share on other sites
Sanjukta Report post Posted July 7, 2010 Hi, You are welcome. Could you please let us know the version of FusionCharts that you are currently using? The latest version, FusionCharts v3.1.1 supports the attribute "unescapeLinks". In case, you are not using FusionCharts v3.1.1, please refer to the following link to upgrade your version: Ref.- http://www.fusioncharts.com/PUC/ Also, in case you feel your parser is decoding the URL encoded format, then you can double encode "%26" to "%2526" for resolving the issue. Hope this is of some help. Please revert in case you have further queries. Share this post Link to post Share on other sites
percyspooner Report post Posted August 19, 2010 Hi Sanjukta, Sorry for leaving it so long to reply but It literally took me ages to find my username and password for the Product Update Center. I assumed that my version was out of date but it actually is not, its v3.1.1 Could this actually be a problem with Internet Explorer?(I can't switch to another browser for many reasons) Have you heard of this problem with anyone else? Thanks Share this post Link to post Share on other sites
percyspooner Report post Posted August 19, 2010 Ok, I solved it, I added both 'unescapeLinks' and changed %26 to %2526. It wouldnt work with one or the other, only both. Thanks for all your help! Share this post Link to post Share on other sites
Sanjukta Report post Posted August 19, 2010 Hi, You are welcome. Glad that your issue is resolved. Thanks for sharing. happy FusionCharting! Share this post Link to post Share on other sites