oferbar Report post Posted December 19, 2007 Hi, The links in this demo: http://www.fusioncharts.com/Gallery/DragNode1.html Do not seem to work... How can I use links on nodes that will work? Specifically I want to generate a Javascript event which I will be able to catch and make an AJAX call back to the server. Thx Ofer Bar Share this post Link to post Share on other sites
FusionCharts Support Report post Posted December 19, 2007 hi, Right click on the chart to Enable Link from the context menu (right click menu). Share this post Link to post Share on other sites
FusionCharts Support Report post Posted December 19, 2007 Hi, The example was made such that the dragging is activated and links to be activated by right clicking. You can do the opposite by changing the XML of the chart. You can always use links to JavaScript for AJAX calls. Share this post Link to post Share on other sites
oferbar Report post Posted December 20, 2007 (edited) Hi, Thanks for the reply. I did find the enableLinks attribute. However, setting it to: enableLinks='1' Did not make any change and my chart still starts in Drag mode... any idea why? I've attached the XML below. Regarding the Javascript links, do you have sample code how to do that? Thx! Ofer Bar <chart palette='1' xAxisMinValue='0' xAxisMaxValue='100' yAxisMinValue='0' yAxisMaxValue='100' is3D='1' showFormBtn='0' viewMode='1' enableLinks='1' > <dataset seriesName='ds1' > <set x='50' y='70' width='100' height='56' name='http://demo.company.com/watch?p=14999015112201876290' color='FE8181' id='0' /> <set x='90' y='70' radius='35' shape='polygon' numSides='6' color='FE3233' name='out' id='1' /> <set y='10' radius='35' shape='circle' color='33C1FE' name='http://demo.company.com/watch?p=14628014738401829880' x='5' id='2' link='/Admins/Content/ContentReport.aspx?contentURL=http://demo.company.com/watch?p=14628014738401829880' /> <set y='30' radius='35' shape='circle' color='33C1FE' name='http://demo.company.com/watch?p=15089115202981887561' x='21.11111111111111' id='3' link='/Admins/Content/ContentReport.aspx?contentURL=http://demo.company.com/watch?p=15089115202981887561' /> <set y='10' radius='35' shape='circle' color='33C1FE' name='http://demo.company.com/watch?p=15094415208321888224' x='27.22222222222222' id='4' link='/Admins/Content/ContentReport.aspx?contentURL=http://demo.company.com/watch?p=15094415208321888224' /> <set x='20' y='70' radius='20' shape='circle' name='self' color='FE3233' id='self' /> <set y='10' radius='35' shape='circle' color='33C1FE' name='http://demo.company.com/watch?p=14649214759761832532' x='38.33333333333333' id='6' link='/Admins/Content/ContentReport.aspx?contentURL=http://demo.company.com/watch?p=14649214759761832532' /> <set y='30' radius='35' shape='circle' color='33C1FE' name='http://demo.company.com/watch?p=15078515192301886235' x='54.44444444444444' id='7' link='/Admins/Content/ContentReport.aspx?contentURL=http://demo.company.com/watch?p=15078515192301886235' /> <set y='10' radius='35' shape='circle' color='33C1FE' name='http://demo.company.com/watch?p=15073215186961885572' x='60.55555555555556' id='8' link='/Admins/Content/ContentReport.aspx?contentURL=http://demo.company.com/watch?p=15073215186961885572' /> <set y='30' radius='35' shape='circle' color='33C1FE' name='http://demo.company.com/watch?p=15046715160261882257' x='76.66666666666667' id='9' link='/Admins/Content/ContentReport.aspx?contentURL=http://demo.company.com/watch?p=15046715160261882257' /> <set y='10' radius='35' shape='circle' color='33C1FE' name='http://demo.company.com/watch?p=14988415101521874964' x='82.77777777777778' id='10' link='/Admins/Content/ContentReport.aspx?contentURL=http://demo.company.com/watch?p=14988415101521874964' /> </dataset> <connectors color='FF0000' stdThickness='10' > <connector strength='0.5334' label='53.34%25' from='0' to='1' color='BBBB00' arrowAtEnd='1' arrowAtStart='0' /> <connector strength='0.07730000000000001' label='7.73%25' from='0' to='2' color='BBBB00' arrowAtEnd='1' arrowAtStart='0' /> <connector strength='0.046' label='4.6%25' from='0' to='3' color='BBBB00' arrowAtEnd='1' arrowAtStart='0' /> <connector strength='0.0408' label='4.08%25' from='0' to='4' color='BBBB00' arrowAtEnd='1' arrowAtStart='0' /> <connector strength='0.0356' label='3.56%25' from='0' to='self' color='BBBB00' arrowAtEnd='1' arrowAtStart='1' /> <connector strength='0.0339' label='3.39%25' from='0' to='6' color='BBBB00' arrowAtEnd='1' arrowAtStart='0' /> <connector strength='0.0313' label='3.13%25' from='0' to='7' color='BBBB00' arrowAtEnd='1' arrowAtStart='0' /> <connector strength='0.0304' label='3.04%25' from='0' to='8' color='BBBB00' arrowAtEnd='1' arrowAtStart='0' /> <connector strength='0.0269' label='2.69%25' from='0' to='9' color='BBBB00' arrowAtEnd='1' arrowAtStart='0' /> <connector strength='0.0252' label='2.52%25' from='0' to='10' color='BBBB00' arrowAtEnd='1' arrowAtStart='0' /> </connectors> </chart> Edited December 20, 2007 by Guest Share this post Link to post Share on other sites
Pallav Report post Posted December 21, 2007 Can you try enableLink='1' (instead of enableLinks)? Share this post Link to post Share on other sites
oferbar Report post Posted December 23, 2007 Working! Great! Seems like a documentation bug... Thanks a lot. Ofer Bar Share this post Link to post Share on other sites