Is there any way to restrict double click on bar chart?
#1
Posted 16 July 2010 - 06:32 AM
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
Other Replies To This Topic
#2
Posted 16 July 2010 - 07:22 AM
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.
Rajroop Bhaduri
FusionCharts Team
Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/
Follow us @Twitter
Other Replies To This Topic
Other Replies To This Topic
Other Replies To This Topic
#5
Posted 16 July 2010 - 08:36 AM
Could you please send us the XML codes that you are using?
Other Replies To This Topic
#6
Posted 16 July 2010 - 09:37 AM
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
Other Replies To This Topic
Other Replies To This Topic
#8
Posted 19 July 2010 - 03:25 AM
Currently our development team is looking into the issue.
We will get back to you as soon as possible.
Other Replies To This Topic
Other Replies To This Topic
#10
Posted 22 July 2010 - 01:32 AM
Can your developer provide any workaround for this issue?
Other Replies To This Topic
#11
Posted 23 July 2010 - 01:02 AM
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.
Other Replies To This Topic
#12
Posted 23 July 2010 - 07:24 AM
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?
Other Replies To This Topic
#13
Posted 26 July 2010 - 03:28 AM
I am afraid, this is not possible as of now.
Other Replies To This Topic
#14
Posted 26 July 2010 - 03:51 AM
You should provide such feature to prevent it.
so, is there any chances of providing such utility in next release?
Other Replies To This Topic
#15
Posted 26 July 2010 - 04:37 AM
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.
This topic is locked

Back to top
MultiQuote