me too i have a problem with jsf and org chart google visualization. please i need the help
On Friday, May 4, 2012 at 4:48:26 PM UTC+1, junior java wrote: > > <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 = google.visualization.arrayToDataTable([ > ['Task', 'Hours per Day'], > ['Work', 11], > ['Eat', 2], > ['Commute', 2], > ['Watch TV', 2], > ['Sleep', 7] > ]); > > 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> -- 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.
