Sha256: 964359021a92916bf72ace1781665ce35190154feb60ab4f9f7d48b9377d7288
Contents?: true
Size: 881 Bytes
Versions: 6
Compression:
Stored size: 881 Bytes
Contents
<html> <head> <script src="https://www.google.com/jsapi"></script> <script src="turbolinks.js"></script> </head> <body> <a href="index.html">home</a> <div id="chart"> </div> <script> google.load('visualization','1', {packages: ['corechart'], callback: function() { var data_table = new google.visualization.DataTable();data_table.addColumn({"type":"string","label":"Employee"});data_table.addColumn({"type":"number","label":"Base Hourly"});data_table.addRow([{v: "Mike Ross"}, {v: 8}]);data_table.addRow([{v: "Moe Syzlack"}, {v: 12}]); var chart = new google.visualization.BarChart(document.getElementById('chart')); chart.draw(data_table, {isStacked: true, width: 900, height: 900, title: "Hours Worked by Payroll Category by Employee", vAxis: {title: "Employee"}, hAxis: {title: "Hours Worked"}, chartArea: {top: 20, bottom: 0}}); }}); </script> </body> </html>
Version data entries
6 entries across 6 versions & 2 rubygems