iobts / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

Visualizations can addHandlers but not removeHandler #402

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release: 1.0.2

Detailed description: Charts can add OnMouseOutHandler and OnMouseInHandler, 
but have no way to remove these handlers.

Workaround if you have one: Re-allocate the chart without handlers.

Links to the relevant GWT Developer Forum posts:

Original issue reported on code.google.com by jie...@gmail.com on 17 Jul 2010 at 7:54

GoogleCodeExporter commented 9 years ago
The API for 1.1.0 doesn't support this either..

Original comment by jie...@gmail.com on 17 Jul 2010 at 8:00

GoogleCodeExporter commented 9 years ago
From what I can see, the underlying JavaScript API does not allow removing 
event handlers

http://code.google.com/apis/visualization/documentation/reference.html#events

Another workaround is to create some sort of boolean variable to check after 
adding the event handler to conditionally ignore events.

Original comment by zundel@google.com on 19 Jul 2010 at 1:17

GoogleCodeExporter commented 9 years ago
Yep, I agree - but the visualization project doesn't appear to have an issue 
tracker. If there is cross over between this and that project, for developers, 
perhaps someone could raise the issue at the next team meeting or what have you?

Or, if there is another project with the actual code which does have an issue 
tracker, I'd be happy to file an enhancement request..

Original comment by jie...@gmail.com on 19 Jul 2010 at 1:23

GoogleCodeExporter commented 9 years ago
There is a public group for the Visualization API at 

http://groups.google.com/group/google-visualization-api

There is a link to an issue tracker there.

Original comment by zundel@google.com on 19 Jul 2010 at 2:33