FusionCharts Forum: Is there any way to restrict double click on bar chart? - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Is there any way to restrict double click on bar chart?

#1 User is offline   LivingLegend 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 31
  • Joined: 04-March 10

Posted 16 July 2010 - 06:32 AM

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
0

Other Replies To This Topic

#2 User is offline   Rajroop 

  • FusionCharts Team
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1803
  • Joined: 19-May 09

Posted 16 July 2010 - 07:22 AM

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.
Regards,

Rajroop Bhaduri

FusionCharts Team

Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/

Follow us @Twitter
0

Other Replies To This Topic

#3 User is offline   LivingLegend 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 31
  • Joined: 04-March 10

Posted 16 July 2010 - 07:27 AM

I am calling javascript on click.
0

Other Replies To This Topic

#4 User is offline   LivingLegend 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 31
  • Joined: 04-March 10

Posted 16 July 2010 - 07:28 AM

I am using javascript to call link
0

Other Replies To This Topic

#5 User is offline   Basundhara Ghosal 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2459
  • Joined: 15-September 09

Posted 16 July 2010 - 08:36 AM

Hi,

Could you please send us the XML codes that you are using?

Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

#6 User is offline   LivingLegend 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 31
  • Joined: 04-March 10

Posted 16 July 2010 - 09:37 AM

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
0

Other Replies To This Topic

#7 User is offline   LivingLegend 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 31
  • Joined: 04-March 10

Posted 19 July 2010 - 03:03 AM

Waiting for updates from your side.
0

Other Replies To This Topic

#8 User is offline   Basundhara Ghosal 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2459
  • Joined: 15-September 09

Posted 19 July 2010 - 03:25 AM

Hi,

Currently our development team is looking into the issue.

We will get back to you as soon as possible. :)

Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

#9 User is offline   LivingLegend 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 31
  • Joined: 04-March 10

Posted 20 July 2010 - 09:07 AM

Any update?
0

Other Replies To This Topic

#10 User is offline   LivingLegend 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 31
  • Joined: 04-March 10

Posted 22 July 2010 - 01:32 AM

Did you get any update from you development team?

Can your developer provide any workaround for this issue?
0

Other Replies To This Topic

#11 User is offline   Sudipto Choudhury 

  • Supreme Being
  • Group: Administrators
  • Posts: 1886
  • Joined: 19-March 07

Posted 23 July 2010 - 01:02 AM

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.
Regards,

Sudipto Choudhury
FusionCharts Team

Follow us on Twitter

I code, therefore I am.

0

Other Replies To This Topic

#12 User is offline   LivingLegend 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 31
  • Joined: 04-March 10

Posted 23 July 2010 - 07:24 AM

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?
0

Other Replies To This Topic

#13 User is offline   Sudipto Choudhury 

  • Supreme Being
  • Group: Administrators
  • Posts: 1886
  • Joined: 19-March 07

Posted 26 July 2010 - 03:28 AM

Hi,



I am afraid, this is not possible as of now.
Regards,

Sudipto Choudhury
FusionCharts Team

Follow us on Twitter

I code, therefore I am.

0

Other Replies To This Topic

#14 User is offline   LivingLegend 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 31
  • Joined: 04-March 10

Posted 26 July 2010 - 03:51 AM

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?
0

Other Replies To This Topic

#15 User is offline   Basundhara Ghosal 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2459
  • Joined: 15-September 09

Posted 26 July 2010 - 04:37 AM

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. 

Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked