deebaa Report post Posted June 14, 2013 Hi I'm using fusion charts. I should draw a vertical line when i click on the chart. I have seen the funtions for legendClicked, markerClicked etc.. But is there any funciton to respond when the user click on the chart? Thanks Deeba Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted June 17, 2013 Hi Deeba, Welcome to FusionCharts Forum. As per your requirement, you may call a custom JavaScript function on click of the chart and in that function, update the entire chart XML/JSON data with a vertical line. To call the JavaScript function on click of chart, you would need to provide the link in the "clickURL" attribute. For more information on "Using JavaScript Fusions as links", please follow the link below: http://docs.fusioncharts.com/charts/contents/?DrillDown/JavaScript.html Also, for more information on "Providing and updating chart data", please visit the link: http://docs.fusioncharts.com/charts/contents/?JavaScript/JS_ChangeData.html Hope this helps! Share this post Link to post Share on other sites