removed chart

master
melvin 2013-05-11 09:37:20 +08:00
parent be357e531a
commit 7603a3a890
1 changed files with 0 additions and 55 deletions

View File

@ -1,55 +0,0 @@
<html>
<head>
<!--Load the AJAX API-->
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
// Load the Visualization API and the piechart package.
google.load('visualization', '1.0', {'packages':['corechart']});
// Set a callback to run when the Google Visualization API is loaded.
google.setOnLoadCallback(drawChart);
// Callback that creates and populates a data table,
// instantiates the pie chart, passes in the data and
// draws it.
function drawChart() {
// Create the data table.
var data = new google.visualization.DataTable();
data.addColumn('string', 'AI');
data.addColumn('number', 'Z');
data.addRows([
['MCTS-C-8',2.6092528099778627],
['MCTS-H-8',1.6659994285040605],
['MMAB-C-8',1.3787037458439702],
['MMAB-C-1',1.1150941501850724],
['VEGAS-C-1',1.0706647280649502],
['VEGAS-C-8',0.983885331445131],
['MCTS-C-1',0.9556629450281179],
['MMAB-H-8',0.7833827268635594],
['VEGAS-H-8',0.7678329742431786],
['MMAB-H-1',0.7589821175468302],
['VEGAS-H-1',0.673920927349923],
['MCTS-H-1',0.5059996380189609],
]);
// Set chart options
var options = {
'title':'Zermelo scores',
//'width':800,
'height':600
};
// Instantiate and draw our chart, passing in some options.
var chart = new google.visualization.BarChart(document.getElementById('chart_div'));
chart.draw(data, options);
}
</script>
</head>
<body>
<!--Div that will hold the pie chart-->
<div id="chart_div"></div>
</body>
</html>