Try this code to customize the contents of the tooltip using html tags.
data.addRows([ ['Mon', 20, 28, 38, 45, customTooltip('Monday')], ['Tue', 31, 38, 55, 66, customTooltip('Tuesday')], ['Wed', 50, 55, 77, 80, customTooltip('Wednesday')], ['Thu', 77, 77, 66, 50, customTooltip('Thursday')], ['Fri', 68, 66, 22, 15, customTooltip('Friday')] ]); function customTooltip(text) { return '<div style="padding:5px 5px 5px 5px;">' + '<table id="medals_layout" style=" color:#db6acf; font-size:large">' + '<tr>' + '<td><b>' + text + '</b></td>' + '</tr>' + '</table>' + '</div>'; }
Take a look at this jqfaq.com , which has a working sample for a line chart.
source share