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.