OMMPAVAN Report post Posted March 19, 2014 Hi, We are trying to render drill down chart .below is our xml .When we see the preview in Edit+(CTRL+ .Links are working but when we open that html page in any browser links are not working. Calling code : var myChart = new FusionCharts("Column3D.swf", "myChartId2", "100%", "250", "0", "0"); myChart.setXMLUrl("StatusByCategory.xml"); myChart.render("leadsbycount2"); FusionCharts("myChartId2").configureLink({ swfUrl : "MSColumn3D.swf", renderAt : "ststusbycategory", overlayButton : { message : 'close', fontColor : '880000', bgColor : 'FFEEEE', borderColor : '660000' } }, 0); XML <chart caption="Team Wise Lead Count" xAxisName="" yAxisName="" bgColor="f4f4f4 b5b5b5"> <set label="Team1" value="250" link = 'JavaScript:myJSFunction("newchart-xml-250-leadcount")' /> <set label="Team2" value="75" link="newchart-xml-2005-quarterly" /> <set label="Team3" value="150" link="newchart-xml-2006-quarterly" /> <set label="Team4" value="80" link="newchart-xml-2007-quarterly" /> <linkeddata id="250-leadcount"> <chart caption="Team1 :: Lead By Status" subcaption="" xAxisName="" yAxisName="" bgColor="f4f4f4 b5b5b5"> <set label="NEW" value="50" /> <set label="ACCEPTED" value="75" /> <set label="SUBMITTED" value="75" /> <set label="CANCELLED" value="50" /> </chart> </linkeddata> <linkeddata id="2005-quarterly"> <chart caption="Team2 :: Lead By Status" subcaption="" xAxisName="" yAxisName="" bgColor="f4f4f4 b5b5b5"> <set label="NEW" value="20" /> <set label="ACCEPTED" value="25" /> <set label="SUBMITTED" value="25" /> <set label="CANCELLED" value="5" /> </chart> </linkeddata> <linkeddata id="2006-quarterly"> <chart caption="Team3 :: Lead By Status" subcaption="" xAxisName="" yAxisName="" bgColor="f4f4f4 b5b5b5"> <set label="NEW" value="25" /> <set label="ACCEPTED" value="50" /> <set label="SUBMITTED" value="55" /> <set label="CANCELLED" value="20" /> </chart> </linkeddata> <linkeddata id="2007-quarterly"> <chart caption="Team4 :: Lead By Status" subcaption="" xAxisName="" yAxisName="" bgColor="f4f4f4 b5b5b5"> <set label="NEW" value="15" /> <set label="ACCEPTED" value="25" /> <set label="SUBMITTED" value="30" /> <set label="CANCELLED" value="20" /> </chart> </linkeddata></chart> Share this post Link to post Share on other sites
Bindhu Report post Posted March 20, 2014 Hi, Please try replacing the below line of code <set label="Team1" value="250" link = 'JavaScript:myJSFunction("newchart-xml-250-leadcount")' /> with <set label="Team1" value="250" link = "JavaScript:myJSFunction('newchart-xml-250-leadcount')"/> and see if it helps. Rest of the code looks fine. Also, please let us know the myJSFunction('newchart-xml-250-leadcount') part of the code. Share this post Link to post Share on other sites