mirror of
https://github.com/RussellChamp/tilde-projects.git
synced 2026-10-28 00:22:34 +00:00
Lots of little random things
This commit is contained in:
1 parent
c89ac52460
commit
1849bd34e5
14 files changed
+106
-45
No files matched your search
@@ -7,9 +7,10 @@
|
||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.15/angular.js"></script>
|
||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.8.0/lodash.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
google.load("visualization", "1.1", {packages:["corechart", "line"]});
|
||||
google.setOnLoadCallback(drawCharts);
|
||||
google.load("visualization", "1.1", {packages:["corechart", "line"], callback: drawCharts});
|
||||
//google.setOnLoadCallback(drawCharts);
|
||||
function drawCharts() {
|
||||
console.log('called drawCharts!');
|
||||
var data = new google.visualization.DataTable();
|
||||
var piechart = new google.visualization.PieChart(document.getElementById('donutchart'));
|
||||
|
||||
@@ -37,6 +38,7 @@
|
||||
};
|
||||
|
||||
jQuery.getJSON("/~krowbar/data/du_log.json", function(json) {
|
||||
console.log('loaded disk usage json data!');
|
||||
date.setUTCSeconds(json[json.length-1].date);
|
||||
//Draw PieChart
|
||||
data.addRows(
|
||||
|
||||
Reference in new issue
Block a user