* As discussed in another thread you can take the coordinates (data values) from the data table. * There is no impediment implementing your own tooltip on top of the chart zone. Simply create a HTML div for your tooltip and place it on top of the div you pass to the chart (I believe you'll have to play use absolute position for this). Make sure the z-index of the tooltip div places it in front of the chart. * If you change your mind and do decide to use the tooltip supplied with the chart you can set custom tooltip text by adding a tooltip column to the data table. More information here<https://developers.google.com/chart/interactive/docs/roles> (look for tooltip role).
On Monday, June 11, 2012 12:44:08 PM UTC+3, Dmitry Loktev wrote: > > Thank you one more time! > > I know how to listen to a onmouse event, but I do not know how to take the > coordinates of the point we are hovering! And is it possible to implement > my out tooltip in the chart zone? > > To respond to your question, I prefer to have another place (second > tooltip in the corner of a chart zone) for two reasons: > > 1. I have to display two kinds of information related to a point: the > coordinates of the point (can be done with a basic tooltip showed above the > point) and some additional information related to a point, but it's not its > coordinates. > > 2. As the chart is supposed to have thousands of points to display these > two kinds of information in the same tooltip will charge a lot an eye > (every point will display a tooltip which would take a lot on space), so it > seems convenient to make "two tooltip" zones:). > > Dmitry > > 2012/6/11 visigoth <[email protected]> > >> Hi Dmitry, >> >> There is no option to control the opening location of the existing >> tooltip. >> You can however cancel it by specifying tooltip.trigger: 'none', and >> implementing your own tooltip by listening to the onmouseover event. >> >> BTW, why do you prefer the tooltip to show up in the corner rather than >> besides the point it is related to? >> >> >> On Monday, June 11, 2012 11:17:27 AM UTC+3, Dmitry Loktev wrote: >>> >>> Hi! >>> >>> Is there some way to show a corner tooltip while we hover a point in a >>> scatter plot? >>> For example, hovering a point we generate an event and the tooltip >>> shows like this one: >>> >>> http://hpics.li/016366f >>> >>> 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/-/yynzIvjCyZAJ. >> >> 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 view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/hne8wE6sUNoJ. 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.
