LivingLegend Report post Posted July 16, 2010 Hi, I am using bar chart to display year wise records. I also have put click event on each bar which will display month wise chart for that year. I mean when I click on 2000 bar, it will reload that chart with Jan to Dec month for 2000 year. Now, my problem is, when user clicks on it very fast say twice or thrice on bar, it is showing wrong result. So, is there any way to restrict this thing? When user click on any chart, its mouse click event not work for some time. This solution what I am thinking but please suggest if you have any work around for it. Thanks Share this post Link to post Share on other sites
Guest Rajroop Report post Posted July 16, 2010 Hey, Could you verify whether you are using a: - lframes to use the link function - pop-up windows to use the link function - JavaScript function to use the link function This would help in us replicating this issue at our end, for testing purposes. Looking forward to your reply. Share this post Link to post Share on other sites
LivingLegend Report post Posted July 16, 2010 I am calling javascript on click. Share this post Link to post Share on other sites
LivingLegend Report post Posted July 16, 2010 I am using javascript to call link Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted July 16, 2010 Hi, Could you please send us the XML codes that you are using? Share this post Link to post Share on other sites
LivingLegend Report post Posted July 16, 2010 Hi, I cannot post whole code but we are producing xml file using tpl utility of ExtJS. Actually our data is in json. Below is the line I am using to set link on bar. "", As you can see, drillData is the function which I am calling by passing some parameters. When user click on bar, it passes year of that bar in drillData function which retrieves record from database of that year and display month chart. But when user double click on it, or clicks multipletimes on it very quickly, this funtion get called multiple time causing problem. So, if you can provide any workaround to limit user to click only once then we can prevent it. Thanks Share this post Link to post Share on other sites
LivingLegend Report post Posted July 19, 2010 Waiting for updates from your side. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted July 19, 2010 Hi, Currently our development team is looking into the issue. We will get back to you as soon as possible. Share this post Link to post Share on other sites
LivingLegend Report post Posted July 20, 2010 Any update? Share this post Link to post Share on other sites
LivingLegend Report post Posted July 22, 2010 Did you get any update from you development team? Can your developer provide any workaround for this issue? Share this post Link to post Share on other sites
FusionCharts Support Report post Posted July 23, 2010 Hi, As of now there is no option to set off link after one click. What you can do in your code, if you are calling JavaScript function, is set a flag when first click occurs. In your code check the flag status and allow further execution of the code. In this way you yourself can restrict to single click. Share this post Link to post Share on other sites
LivingLegend Report post Posted July 23, 2010 Thanks for suggestion. But, before posting my question here, I have already implemented it. But, sometimes it works and sometimes not. When user click very rapidly, it execute twice. Can't you provide any inbuilt utility that when user click first time, they cannot click on it until calling function completed? Share this post Link to post Share on other sites
FusionCharts Support Report post Posted July 26, 2010 Hi, I am afraid, this is not possible as of now. Share this post Link to post Share on other sites
LivingLegend Report post Posted July 26, 2010 This is the very crucial utility as no one want such type of behavior. You should provide such feature to prevent it. so, is there any chances of providing such utility in next release? Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted July 26, 2010 Hi, We have added this in our wish-list. I hope you do understand that we base the priority on the logical application/implimentation and the user demand scale. Thanks for your continued patience and patronage. Share this post Link to post Share on other sites