scorbett Report post Posted March 4, 2013 Consider the following chart xml: <chart caption='Time from Last Login' bgColor='edede6' canvasBgColor='e4e4e0' paletteColors='b8d2ec,f2afad,d9e4aa,f3d0b0,d5b2d4,ddb9a9,ecc0da' use3DLighting='0' showLegend='1' legendPosition='RIGHT'> <categories> <category label='1 months' /> <category label='2 months' /> <category label='3 months' /> <category label='4 months' /> <category label='5 month' /> <category label='6+ months' /> <category label='Never' /> </categories> <dataset seriesName='Last Logged In'> <set value='259' link='J-drilldown-6|5 months|null' /> <set value='850' link='J-drilldown-6|2 months|null' /> <set value='978' link='J-drilldown-6|3 months|null' /> <set value='1225' link='J-drilldown-6|4 months|null' /> <set value='2624' link='J-drilldown-6|1 month|null' /> <set value='3327' link='J-drilldown-6|6+ months|null' /> <set value='13984' link='J-drilldown-6|Never|null' /> </dataset> </chart> This results in a chart like the one in the attached image. It all looks fine, but when I click on the "6+ months" bar, my javascript callback function is not receiving the correct parameters. I'm expecting a string in the form "6|6+ months|null", but instead I get "6|6 months|null". Notice that the + sign has been stripped out and replaced with a space. If I replace the + sign with it's html equivalent, "& #43;" I see the exact same results - a space where my plus sign would be. This makes it difficult to react to drilldown events when I don't get the correct data passed to my javascript function. Is there something I can do to work around this problem? Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted March 5, 2013 Hi, Could you please try once by replacing the "+" special character with "%2B"? Ref. Code: <set value='3327' link='J-drilldown-6|6 %2B months|null' /> Hope this helps! Share this post Link to post Share on other sites
scorbett Report post Posted March 5, 2013 (edited) Thanks Sashibhusan, that fixes it. Are there any other special character replacements I should be aware of when forming a drilldown link? Is this described in the documentation somewhere? Edit: never mind, found this: http://docs.fusioncharts.com/filemaker/charts/Contents/QS/QSEgSpecialChars.html Edited March 5, 2013 by scorbett Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted March 6, 2013 Hi, Glad to hear that the solution provided you, has been resolved your issue. Please note that the special characters, which are outside the ASCII set, needs to be URL- Encoded (unsafe ASCII characters with a "%" followed by two hexadecimal digits) while passing to the custom JavaScript function in the link attribute. However, we do not have the complete document of all special characters list with their URL Encoded list. Please visit the link: http://www.w3schools.com/tags/ref_urlencode.asp and see if it helps. Hope this helps! Share this post Link to post Share on other sites