I don't really understand what you're saying. Here is a screenshot of what the tooltip looks like for me: [image: Inline image 1] Does it looks different for you? Could you post a screenshot with what it looks like?
- Sergey On Mon, Dec 16, 2013 at 10:10 AM, Jean-Luc Picard <[email protected]>wrote: > I put my mouse pointer on the "2008" label and moved up the line and the > tooltip appeared, but only when the mouse pointer was at the next vertical > line above the data line. I found this to be true for each data point. > > When I try the examples on the Google Charts reference pages, like this > one ( > https://developers.google.com/chart/interactive/docs/gallery/linechart?hl=en), > the tooltips appear when the mouse is directly over the data line at the > data point. I don't understand why mine is offset about 20 pixels above the > line. > > Is one of the settings I have throwing it off somehow? > > > > > On Monday, December 16, 2013 9:04:18 AM UTC-5, Jean-Luc Picard wrote: >> >> Here is my code. When I mouseover the line, no tooltips appear. How can I >> fix it? >> >> // Create the data table. >> var data = new google.visualization.DataTable() >> >> data.addColumn('date', 'Date'); >> data.addColumn('number', 'Sales'); >> data.addRows( >> [ >> [new Date(2009,11,30), 127937.12], >> [new Date(2010,0,27), 102678.18], >> [new Date(2010,1,24), 101179.74], >> [new Date(2010,2,24), 96110.67], >> [new Date(2010,3,21), 99960.16], >> [new Date(2010,4,19), 90222.82], >> [new Date(2010,5,16), 103857.97], >> [new Date(2010,6,14), 119192.29], >> [new Date(2010,7,11), 99457.08] >> ] >> ) >> >> // Set chart options >> var options = {'title':'Test', >> 'width':1200, >> 'height':300, >> 'hAxis': {ticks: [{v:new Date(2010,0,27), f:'2008'}, >> {v:new Date(2010,1,24), f:'2009'} >> ], >> minorGridlines:{count:3} >> } >> }; >> >> // Instantiate and draw our chart, passing in some options. >> var chart = new google.visualization.LineChart(document. >> getElementById('chart')); >> chart.draw(data, options); >> > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/groups/opt_out.
<<Screen Shot 2013-12-16 at 10.12.33 AM.png>>
