I would love to use this powerful tool in my java projects + JSF +
richfaces .. can anyone give me a hint how to do?
<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 = MY
BEAN ????????????????????????????????????????????????????/
var options = {
title: 'My Daily Activities'
};
var chart = new
google.visualization.PieChart(document.getElementById('chart_div'));
chart.draw(data, options);
}
</script>
</head>
<body>
<div id="chart_div" style="width: 900px; height: 500px;"></div>
</body>
</html>