nilesh1021 Report post Posted July 2, 2012 (edited) <chart caption='ABC Bank Branches' subCaption='(In Asian Countries)' yaxislabel='Branches' xaxislabel='Country'> <set label='Hong Kong' value='235' link="JavaScript:myJS('Hong Kong,235');"/> <set label='Japan' value='123' link="JavaScript:myJS('Japan, 123');"/> <set label='Singapore' value='129' link="JavaScript:myJS('Singapore, 129');"/> <set label='Malaysia' value='121' link="JavaScript:myJS('Malaysia, 121');"/> <set label='Taiwan' value='110' link="JavaScript:myJS('Taiwan, 110');"/> <set label='China' value='90' link="JavaScript:myJS('China, 90');"/> <set label='S. Korea' value='86' link="JavaScript:myJS('S.Korea, 86');"/> </chart> In xml we specify link in javascript for XML file like this:link="JavaScript:myJS('Hong Kong,235');"How to specify links in javascript for json data file???? Edited July 2, 2012 by nilesh_1021 Share this post Link to post Share on other sites
Guest Sumedh Report post Posted July 2, 2012 Hi, Please refer the following JSON Code: { "chart": { "caption": "ABC Bank Branches", "subcaption": "(In Asian Countries)", "yaxislabel": "Branches", "xaxislabel": "Country" }, "data": [ { "label": "Hong Kong", "value": "235", "link": "JavaScript:myJS('Hong Kong,235');" }, { "label": "Japan", "value": "123", "link": "JavaScript:myJS('Japan, 123');" }, { "label": "Singapore", "value": "129", "link": "JavaScript:myJS('Singapore, 129');" }, { "label": "Malaysia", "value": "121", "link": "JavaScript:myJS('Malaysia, 121');" }, { "label": "Taiwan", "value": "110", "link": "JavaScript:myJS('Taiwan, 110');" }, { "label": "China", "value": "90", "link": "JavaScript:myJS('China, 90');" }, { "label": "S. Korea", "value": "86", "link": "JavaScript:myJS('S.Korea, 86');" } ] } Also, refer the following URL: http://docs.fusioncharts.com/charts/contents/?DataFormats/JSON/Overview.html Share this post Link to post Share on other sites