You are viewing documentation for an older version. For current documentation - click here.

Using removeEventListener function to remove an event listener. First, we add an event listener for DrawComplete event and it shows an alert. In this event listener we remove the listener. Use the button to set a chart attribute and raise the DrawComplete event again. Now, notice that the event listener (showing alert) will not be called.

 

FusionWidgets XT will load here!

Change chart attribute to fire DrawComplete event