FusionCharts Forum: How block click Event - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How block click Event Fast click on chart problem.

#1 User is offline   Bebetto 

  • Forum Newbie
  • Group: Members
  • Posts: 6
  • Joined: 12-November 09

Posted 30 December 2009 - 02:32 AM

I have some problem with using javascript in chart.

I one of my graphic i link to chart javascript function 'j-RefreshGrid-{0}, {1}, {2}, {3}' .This function do postback.

And i have a problem, if I click on chart element very fast, there are many post back are created, and some times ISS are crashed.

How I can set interval or max click values that was processed (Something like if i click 10 times per second only first click are proccess.)?
0

Other Replies To This Topic

#2 User is offline   shamasis 

  • Red Flavoured
  • Group: Administrators
  • Posts: 198
  • Joined: 27-October 08
  • LocationKolkata, India

Posted 30 December 2009 - 03:15 AM

...

Greetings,



What you need to do is create an intermediate function (say RefreshGridEx,) and call it from your XML instead of the orgiginal RefreshGrid function.



Now, from the new RefreshGridEx function call the original RefreshGrid function but after doing a check whether it previous calls to RefreshGridEx method has been at a rate of 10 times per second or not.
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic