交大浩然圖書館借閱紀錄 紀錄於Google Spreadsheets <!-- // Load the Visualization API and the piechart package. google.load("visualization", "1", {packages:["piechart", "table", "linechart"]}); // Set a callback to run when the 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() { // Replace the data source URL on next line with your data source URL. var query = new google.visualization.Query('http://spreadsheets.google.com/tq?key=pmVbuvat0A4hpzP5O9fidVw&gid=0'); // Optional request to return only column C and the sum of column B, grouped by C members. query.setQuery('select C,B,E'); // Send the query with a callback function. query.send(handleQueryResponse); } function handleQueryResponse(response) { // Called when the query response is returned. if (response.isError()) { alert('Error in query: ' + response.getMessage() + ' ' + response.getDetailedMessage()); return; } var data = response.getDataTable(); var table = new google.visualization.Table(document.getElementById('table_div')); table.draw(data, {showRowNumber: true}); } // -->