Hi, I need clarification on what you're trying to do. I did not understand these handlers you implemented. Also, where is this _GCHART coming from?
So, please describe in detail what's the behavior you want. - VizBoy. On Fri, May 1, 2009 at 3:11 PM, Lukasz Baczynski <[email protected]> wrote: > > hi there all, > > i checked posts on this group about handling events. > the thing is about showing tooltips on onmouseover event. > i've added a listener to onmouse event: > > google.visualization.events.addListener(chart, 'onmouseover', function > () { > parent._GCHART_getBuilder(0)._fireSelectValueEvent(0,2); > }); > > and so it fires STATIC select event onmouseover it's ok if i will be > able to get it dynamic (didn't check it yet). > the problem is that i've got select listener as well: > > google.visualization.events.addListener(chart, 'select', function() { > > var selection_row = chart.getSelection()[0].row; > var date = data.getValue(selection_row, 0); > location.href="/client/reviews/review/? > created__year="+date.getFullYear()+"&created__month="+(date.getMonth() > +1)+"&created__day="+date.getDate(); > }); > > so onmouse event fires redirect insted of default event. > > what i want: > - i would like to leave select handling as it is now (redirect after > click). > - modify onmouseover listener to fire the default tooltip display > event. > > is it possible ? > > regards > Lukasz > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en -~----------~----~----~----~------~----~------~--~---
