Is it possible to disable the click event and still include the dynamic script?

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Helio on 28th March 2017
Hi again!

I would like to know if it's possible to remove/disable click functions without removing the dynamic script file.

Posted by Richard on 28th March 2017

I suppose you might be able to remove the event listeners:

myBar.canvas.removeEventListener('click', myBar.canvas.rgraph_click_event_listener);
myBar.canvas.removeEventListener('mousedown', myBar.canvas.rgraph_mousedown_event_listener);

That would remove pretty much all of the dynamic functionality though.


Add a reply

« Back to message list