ayixidelu Report post Posted January 6, 2010 (edited) Hi, I would like to make chart label as href link, when user click the label, i want it call some function. While my following code does not work: var event1="myevent1"; var page1="mypage1"; xml="..." + "<set label='<a href="#"onClick=""+ "window.parent.events.fireEvent(" + event1+"," + page1+ ")">MyLabel1</a>' labelHAlign='left' tooltext='first' value='10' color='ff0000'/>"+ "..." chart.setDataXML(xml); Other parts of xml is ok, could you help me point where the problem is? Thank you. Edited January 6, 2010 by Guest Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted January 6, 2010 Hi, Welcome to FusionCharts Forum. Could you please try using the "link" attribute in the <set> element to open a link page? Ref.- http://www.fusioncharts.com/docs?/DrillDown/Simple.html In case of calling a function, please try calling the function on the "onclick" event of 'Control' that you are using. Hope this helps. Wish you a very Happy New Year. Share this post Link to post Share on other sites
Guest Rajroop Report post Posted January 6, 2010 Hey there, We do have a solution for making the X-axis Labels 'clickable'. However, this is only possible using FusionCharts v3. FusionCharts Free does not support the isHTML attribute/STYLES which is imperative for this tweek to work. Please refer to: http://www.fusioncharts.com/forum/Topic20851-40-1.aspx?Update=1 I hope this helps. Share this post Link to post Share on other sites
ayixidelu Report post Posted January 6, 2010 Basundhara and Rajroop, Thank you for the kind help. I am using the fusion charts free, will try to find other workaround. This is really a good forum, I hope I could find here earlier. Best regards. Share this post Link to post Share on other sites
bandit Report post Posted January 6, 2010 you can try javascript Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted January 6, 2010 Hi, Thanks for your appreciation. I am afraid, as of now FusionCharts Free does not supports the "Styles" functionality. Could you please try using the Trial pack of the FusionCharts(version 3.1.1) which support all the functionality with a water-mark? Ref.- http://www.fusioncharts.com/Download.asp Hope this helps. Share this post Link to post Share on other sites