From 512f04cfda5db8fdc72a8ded076f03b7b83c0b1d Mon Sep 17 00:00:00 2001 From: Kautilya Date: Wed, 4 Jul 2018 17:22:17 +0530 Subject: [PATCH] changed Variables for better understanding. --- index.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index c968219..a296ef5 100755 --- a/index.html +++ b/index.html @@ -2848,12 +2848,12 @@

Latest Tweets

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], @@ -2861,15 +2861,15 @@

Latest Tweets

['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); }