I'm new to the visualization API and I've searched for information on this prior to posting.
I'm plotting the graph below, but am looking to add additional information to the tooltip that is shown when a user hovers over a point.
<html>
<head>
<script type="text/javascript">
google.load("visualization", "1", {packages:["corechart"]});
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Month', '2011', '2012', '2013', '2014'],
['Jan', 104.0, 107.6, 111.0, 133.6],
['Feb', 109.7, 106.3, 111.0, 133.5],
['Mar', 108.8, 106.0, 114.5, 131.5],
['Apr', 110.4, 96.7, 120.6, 128.7],
['May', 109.7, 95.1, 124.7, 123.9],
['Jun', 109.7, 94.9, 126.6, 121.5],
['Jul', 109.0, 91.8, 130.3, null],
['Aug', 106.9, 98.0, 133.5, null],
['Sep', 107.0, 104.9, 133.7, null],
['Oct', 107.6, 106.4, 131.1, null],
['Nov', 108.3, 109.1, 131.9, null],
['Dec', 107.6, 111.1, 133.6, null]
]);
var options = {
title: 'Draft Graph'
};
var chart = new google.visualization.LineChart(document.getElementById('chart_div'));
chart.draw(data, options);
}
</script>
</head>
<body>
<div id="chart_div" style="width: 900px; height: 500px;"></div>
</body>
</html>