Hello all.  I have spent a significant amount of time searching for 
solutions to my problem over the past 2 days and am hoping someone can 
help.  I did search through the forum and was unable to find anyone with 
the same problem or a solution.

Q: Why am I able to see HTML Tooltips when I use line 25 but not when I use 
line 26?

file=gchart.php
<html>
<head>
<script type="text/javascript" src="https://www.google.com/jsapi";></script>
<script type="text/javascript">
google.load('visualization', '1', {'packages':['corechart']});
google.setOnLoadCallback(drawChart);

function drawChart() {
var data = new google.visualization.DataTable();
data.addColumn('number', 'something');
data.addColumn('number', 'else');
data.addColumn({type: 'string', 'role': 'tooltip', 'p': {'html': true}});
data.addRows([ 
[2, 1000,"<a href=http://google.com>link</a>"],
[3, 1170, 'google'],
[4, 660, 'charts'],
[5, 1030, '<b>are_buggy</b>']
]);
 var options = {
tooltip: {isHTML:true, trigger: 'selection'},
}; 
 var chart = new 
google.visualization.LineChart(document.getElementById('visualization'));
chart.draw(data,{tooltip: {isHtml: true, trigger: 'selection'}});
//chart.draw(data,options);
}
</script>
</head>
<div id="visualization"></div>
</html>


-- 
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/d/optout.

Reply via email to