Thank your for the reply! Actually I am interested not in the coordinates of the mouse, but in the coordinates of the hovered point. Sorry for the bad explanation in the first letter.
Is there a way to get them, i.g. the coordinates of the hovered point? Dmitry! 2012/6/11 visigoth <[email protected]> > Hi, > > The onmouseover event does not carry the coordinates of the cursor, only > the indices of the element in the data table. > We are considering adding it in a future release, but as of yet have no > estimation on when. > > Visigoth > > > On Sunday, June 10, 2012 1:24:37 PM UTC+3, Dmitry Loktev wrote: >> >> Hi! >> >> I am drawing a scatter plot and I would like to treat the onmouseover >> event. In the API reference it says that the event passes back the row >> and column indices of the corresponding data table element. >> >> So, to handle the onmouseover event I create a handler function and >> add a listener: >> >> function handler (){ >> >> alert ("in the handler"); >> >> } >> >> google.visualization.events.**addListener(chart, 'onmouseover', >> handler); >> >> But how do I seize the returned values, i.g. the coordinates of the >> point where the mouse have passed? >> >> Dmitry > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-visualization-api/-/-yh3xKCMt0YJ. > > 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. > -- 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.
