Merge branch 'master' of https://github.com/talksik/financeCategories
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
google.charts.load('current', {'packages':['corechart']});
|
||||
google.charts.setOnLoadCallback(drawChart);
|
||||
|
||||
function drawChart() {
|
||||
|
||||
var data = google.visualization.arrayToDataTable([
|
||||
['Task', 'Hours per Day'],
|
||||
['Food and Dining', 11],
|
||||
['Clothing', 2],
|
||||
['Entertainment', 2],
|
||||
['Transportation', 7],
|
||||
['Other', 1]
|
||||
]);
|
||||
|
||||
var options = {
|
||||
title: 'Spending'
|
||||
is3D: true
|
||||
};
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
|
||||
<div id="piechart" style="width: 900px; height: 500px;"></div>
|
||||
</head>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user