From 8ed3296e0d4c0ab4177feacd04357ab6bab0bfe5 Mon Sep 17 00:00:00 2001 From: Peter Edmond Date: Wed, 18 Jun 2025 12:36:32 +0100 Subject: [PATCH] Removed anonymity for bar graphs - still exists for text comments --- drawbar.js | 7 ++++--- reportTemplate.html | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/drawbar.js b/drawbar.js index da50dfb..80323c2 100644 --- a/drawbar.js +++ b/drawbar.js @@ -314,9 +314,10 @@ function doBarData(id,qid, survey, Q1=0, Q2=0, Q3=0 ) { const total = Object.values(bardata).reduce((sum, value) => sum + value, 0); //console.log(total); document.getElementById("record_no").textContent = total; - if (total < 8){ - return; - } + //Anonymity filter commented out for bar graphs only + //if (total < 8){ + // return; + //} drawBar(id,bardata); // return data; // Should be an array like [{ value: -3, count: 2 }, ..., { value: 3, count: 5 }] diff --git a/reportTemplate.html b/reportTemplate.html index a8b197e..a71e29e 100644 --- a/reportTemplate.html +++ b/reportTemplate.html @@ -126,17 +126,17 @@