From 4fb05e628730de2d0a42f8631ea7c99da28392bd Mon Sep 17 00:00:00 2001 From: Kumi Date: Thu, 28 Nov 2024 16:01:25 +0100 Subject: [PATCH] fix: Changes heatmap color scale to threshold Updates heatmap color scale from ordinal to threshold to better represent the range and distribution of data values. --- mood/static/mood/dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mood/static/mood/dashboard.js b/mood/static/mood/dashboard.js index 9491e16..76c1a56 100644 --- a/mood/static/mood/dashboard.js +++ b/mood/static/mood/dashboard.js @@ -33,7 +33,7 @@ fetch("/mood/statistics/heatmap/values/") scale: { color: { domain: domain, - type: "ordinal", + type: "threshold", range: range, } },