Upendar Srirangam Report post Posted October 18, 2012 Hi Team, We have a requirement where if user clicks on the specific Bar of a Bar Chart, we need to show a new dialog window with actual data of that particular Bar in the Bar chart. Can you please furnish the details of how it can be done. ( We use Javascript Renderer). POC for the same is appreciated. Thanks Upendar. Share this post Link to post Share on other sites
Guest Sumedh Report post Posted October 18, 2012 Hi Upendar, FusionCharts XT provides "JavaScript functions as links" feature. You can invoke a JavaScript function present in the same page (in which the chart is present) when the you click on data plot of the chart. FusionCharts XT provides two ways of setting JavaScript functions as links: > j- prefix : Just place the function name after the j- notation. The function will be evaluated as a standard JavaScript function and anything placed after the function name separated by a - (dash) will be passed as a single String parameter to the function. Ref. Code: <set label='USA' value='235' link="j-myJS-USA,235"/> > JavaScript: prefix : provide single or multiple JavaScript functions or statements after JavaScript: prefix. Ref. Code: <set label='USA' value='235' link="JavaScript: isJavaScriptCall=true; alert('hi JS!'); myJS('USA',235);"/> For more information, please refer the following link: http://docs.fusioncharts.com/charts/contents/?DrillDown/JavaScript.html Hope this helps! Share this post Link to post Share on other sites
FusionCharts Support Report post Posted October 18, 2012 Hi, You can try using the LinkedCharts feature. A sample using Colum2D charts is here: http://docs.fusioncharts.com/charts/Code/JavaScript/Basics/UsingLinkedCharts/jqdialog.html To read more on this, please visit: http://docs.fusioncharts.com/charts/contents/index.html?JavaScript/JS_LinkedCharts.html Share this post Link to post Share on other sites