Added integration for chart

This commit is contained in:
Sajal Sharma
2017-09-15 21:27:18 -07:00
parent bda21b06cd
commit 04520770b1
2 changed files with 24 additions and 0 deletions
+18
View File
@@ -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
};