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.


Thanks!
Posted by Richard on 28th March 2017
Hi,

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.

Richard

Add a reply

 




« Back to message list
RGraph on social media