jaideep Report post Posted June 20, 2012 Hi, So the issue is using a fusion Linear Bar gauge. I have two scenarios Scenario 1 - WORKS FINE - Fusion bar chart. I am setting the url in the set element like this - <set link="javascript:SubmitForm('rdPage.aspx?rdReport=TestCustomer6&Projects=ABC%2526D','','false','',null)" alpha="100" label="" value="1.25"/>, when this bar is clicked, it takes me to the corresponding URL and the %2526 is URL encoded fine. Scenario 2 - DOES NOT WORK - Fusion Linear Bar gauge. I am setting the url in the root "chart" element like this - <chart bgColor="FFFFFF" animation="0" unescapeLinks="0" lowerLimit="0" upperLimit="2" minorTMNumber="1" minorTMColor="" majorTMNumber="9" adjustTM="0" majorTMColor="" baseFontColor="" baseFont="arial" baseFontSize="14" majorTMHeight="15" majorTMThickness="2" thmFillColor="" decimalPrecision="0" chartLeftMargin="40" chartRightMargin="40" bgAlpha="0" showBorder="0" clickURL="javascript:SubmitForm('rdPage.aspx?rdReport=TestCustomer6&Projects=ABC%2526D','','false','',null)"> when this gauge is clicked, it takes me to the URL but it is not properly URL encoded. Note that i am setting the unescapeLinks = "0" in both scenarios. Can you tell me what else needs to be done to make the gauge behave the same way and encoded the characters as desired ? thanks, Jaideep. Share this post Link to post Share on other sites
Guest Bindhu Report post Posted June 21, 2012 Hi, We are unable to replicate the issue. Can you please send us the erroneous project to replicate the issue? Awaiting your response. Share this post Link to post Share on other sites
jaideep Report post Posted June 21, 2012 Here is the data xml file content (chartData.xml) - <?xml version="1.0" encoding="UTF-8"?> -<chart clickURL="javascript:NavigateLink2('http://www.google.com/search?&q=Dean%2526Deluca','','false','','')" showBorder="0" chartRightMargin="40" chartLeftMargin="40" decimalPrecision="0" thmFillColor="b2d640" majorTMThickness="2" majorTMHeight="15" baseFontSize="14" baseFont="arial" baseFontColor="333333" majorTMColor="" adjustTM="0" majorTMNumber="9" minorTMColor="" minorTMNumber="1" upperLimit="2" lowerLimit="0" animation="0" bgColor="FFFFFF"> -<pointers> <pointer Value="1.25" bgColor="CCCCCC"/> </pointers> -<colorRange> <color name="" code="FF0000" maxValue="0.79" minValue="0"/> <color name="" code="FFFF00" maxValue="0.99" minValue="0.8"/> <color name="" code="008000" maxValue="2" minValue="1"/> </colorRange> </chart> and this is how i include it in the html page - var rdAnimatedChart = new FusionCharts("rdTemplate/rdAnimatedChart/FI2_Linear.swf", "AnimatedGauge286805", "330", "88", "0", "0"); rdAnimatedChart.setDataURL("chartData.xml"); rdAnimatedChart.render("rdAnimatedChartAnimatedGauge286805"); Notice when you click on the rendered gauge - the resulting URL goes to google.com as http://www.google.com/search?&q=Dean&Deluca, and everything after the "&" sign is ignored. This should be encoded as http://www.google.com/search?&q=Dean%26Deluca instead. I hope this helps you recreate the issue. Please let me know. thanks, Jaideep. Share this post Link to post Share on other sites
Guest Bindhu Report post Posted June 22, 2012 Hi Jaideep, Thank you for the code. I did a little modification. Instead of calling a JavaScript function, I directly gave the URL in the clickUrl attribute, as you have not posted the JavaScript method. Ref. Code: <chart clickURL="http://www.google.com/search?&q=Dean%2526Deluca" ...> When i clicked on the chart, the URL that I see is "https://www.google.com/search?q=Dean%26Deluca", which is encoded. Can you please try in a similar fashion? Hope this helps! Share this post Link to post Share on other sites