alex pavel
unread,Jan 6, 2012, 10:45:38 AM1/6/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Visualization API
I set :
function drawChart1() {
// Create the data table.
var data = new google.visualization.DataTable();
data.addColumn('string', 'Topping');
data.addColumn('number', 'Slices');
data.addRows([
['Excelenta', <?=$tip3?>],
['Buna', <?=$tip2?>],
['Slaba', <?=$tip1?>]
]);
// Set chart options
var options = {'tooltip.text':'percent',
'title':'Cum a fost calatoria dumneavoastra cu <?php echo
ucfirst($compania);?>?',
'width':650,
'height':300,
};
// Instantiate and draw our chart, passing in some options.
var chart = new
google.visualization.PieChart(document.getElementById('chart_div1'));
chart.draw(data, options);
}
but in render I see tooltip.text both.
What is the problem?
Thanks