Skip to content

Commit

Permalink
changed Variables for better understanding.
Browse files Browse the repository at this point in the history
  • Loading branch information
SensehacK committed Jul 4, 2018
1 parent 2200ffb commit 512f04c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2848,28 +2848,28 @@ <h4 class="widget-title">Latest Tweets</h4>

function rescueTimeChartBar() {

var rescueData2 = new google.visualization.DataTable();
rescueData2.addColumn('string', 'Topping');
rescueData2.addColumn('number', 'Slices');
var rescueDataBar2 = new google.visualization.DataTable();
rescueDataBar2.addColumn('string', 'Topping');
rescueDataBar2.addColumn('number', 'Slices');
// rescueData2.addColumn('number', 'Percentage');

rescueData2.addRows([
rescueDataBar2.addRows([
['Very Productive', rTvery_productive_percentage],
['Productive', rTproductive_percentage],
['Neutral', rTneutral_percentage],
['Distracting', rTdistracting_percentage],
['Very Distracting', rTvery_distracting_percentage]
]);
console.log("In drawChart3 google 23 piechart");
var rescueTimeOptions = {
var rescueTimeBarOptions = {
'title': 'How Much Time I utilize yesterday.',
'width': 600,
'height': 400
};

var rescueTimeChart2 = new google.visualization.BarChart(document.getElementById(
var rescueTimeChartBar2 = new google.visualization.BarChart(document.getElementById(
'rescueTimeChartBar_div3'));
rescueTimeChart2.draw(rescueData2, rescueTimeOptions);
rescueTimeChartBar2.draw(rescueDataBar2, rescueTimeBarOptions);
}
</script>
<!-- RescueTime + Google Charts end
Expand Down

0 comments on commit 512f04c

Please sign in to comment.