Team:Sevilla/test3
From 2011.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | + | {{:Team:Sevilla/test2}} | |
<html> | <html> | ||
Line 12: | Line 12: | ||
data.addColumn('string', 'Task'); | data.addColumn('string', 'Task'); | ||
data.addColumn('number', 'Hours per Day'); | data.addColumn('number', 'Hours per Day'); | ||
- | data.addRows(5); | + | data.addRows(5); //las 5 divisiones |
- | data.setValue(0, 0, ' | + | data.setValue(0, 0, 'Ing Informatica'); |
data.setValue(0, 1, 11); | data.setValue(0, 1, 11); | ||
- | data.setValue(1, 0, ' | + | data.setValue(1, 0, 'Biologia'); |
data.setValue(1, 1, 2); | data.setValue(1, 1, 2); | ||
data.setValue(2, 0, 'Commute'); | data.setValue(2, 0, 'Commute'); | ||
Line 26: | Line 26: | ||
// Create and draw the visualization. | // Create and draw the visualization. | ||
new google.visualization.PieChart(document.getElementById('visualization')). | new google.visualization.PieChart(document.getElementById('visualization')). | ||
- | draw(data, {title:" | + | draw(data, {title:"¿Qué estudiamos?"}); |
} | } | ||
Revision as of 12:04, 5 April 2011