diff --git a/all.html b/all.html index 1ded3f6..f728557 100644 --- a/all.html +++ b/all.html @@ -37,7 +37,7 @@

Get the data from RescueTime

+ value="">
from @@ -86,19 +86,29 @@

Efficency

+
+

This chart shows your productivity during the select range. Productivity is calculated with this + formula:
(Time*RescueTime's Productivity Score)/3600.
This means that if you do 60 minutes with + 100 as Productivity Score your productivity will be 100 too, but if you do only 30 minutes with 100 + Productivity Score your productivity will be 50!
You can think at blue line as the thing you got done. +
If show dates is checked instead of points you will be able to see date and time for individual + dots but the trend line may not be available.

+
Trendline degree (linear-50) + value="20"/>
+
+
@@ -106,8 +116,14 @@

Efficency

+
+

This chart shows your average productivity during a day. To calculate the points the productivity as + been grouped by hour and then averaged. For the productivity is used the same formula as above.

+
+
+
@@ -115,7 +131,12 @@

Efficency

- +
+

This chart shows your average productivity and the total time spent for each hour in the selected period. If there is a big gap between the line and the chart this means that for that specific point your RescueTime's productivity pulse where high

+
+
+
+
@@ -123,6 +144,11 @@

Efficency

+
+
+

These charts are the same as the two above but are gruped by days of week instead of by hour

+
+
@@ -141,6 +167,9 @@

Efficency

Top 50 activities

+
+

This chart simply show your top activities for the select range bar's color is based on RescueTime's colors.

+

diff --git a/app.js b/app.js index 1ddb8ba..ebc9a4c 100644 --- a/app.js +++ b/app.js @@ -104,7 +104,7 @@ var activityUploaded; updateTopAct(); }); $("#showDates").on("click", function () { - init(); + updateProd(); }); document.getElementById('fileEfficency').addEventListener('change', onChangeEfficency); document.getElementById('fileActivity').addEventListener('change', onChangeActivity); @@ -265,7 +265,7 @@ function calcEfficiency(file) { chart.draw(data, options); } -function updateProdTrend() { +function updateProd() { if (efficencyUploaded != null && usingFiles) calcEfficiency(efficencyUploaded); if (!usingFiles) @@ -479,6 +479,7 @@ function filter(arr, cond) { function findAvg(arr) { avg = findSum(arr) / arr.length; + //TODO: maybe is better use the time instead of the number of the points gathered return avg; } @@ -621,4 +622,5 @@ function updateTopAct() { } //TODO: salva mega report as jpg/png... come una spece di screenshot di tutta la pagina -//TODO: pie chart per le activities? \ No newline at end of file +//TODO: pie chart per le activities? +//TODO: controllo se c'รจ l'apikey quando si elabora diff --git a/style.css b/style.css index 2c21c84..2df3320 100644 --- a/style.css +++ b/style.css @@ -25,6 +25,10 @@ animation: rotateplane 1.2s infinite ease-in-out; } +blockquote{ + z-index: 10; +} + .input-group { float: left; margin-right: 20px;