Sign in to follow this  
Cosostones

disposeFusionCharts() - drag&drop events not cleared

Recommended Posts

Hi,

 

I am trying to use a 'MSColumn3D' chart from FusionCharts (version 3.3.1-sr2.19840).

It works fine for display.

 

Then I need to use disposeFusionCharts() to destroy the chart and free used ressources.

Chart disapear from screen and dom elements are removed : good

 

But after that, if I click on a div of a component not related to FusionCharts (header of a custom modal message box), a javascript error appear : Uncaught TypeError: Cannot call method 'call' of undefined

Using the console, I discover that a drag&drop event is still lauching some FusionCharts methods (hijack() in FusionCharts.HC.js).

 

Same error appear when moving mouse inside a complex grid (where drag&drop can be used).

 

So it looks like  disposeFusionCharts() is not cleaning everything.

 

Could you have a look ?

 

Thanks.

 

Alain.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this