From a4f44a9d7cff6dfdc9aa19b8d2dbc9cfda6aeb72 Mon Sep 17 00:00:00 2001 From: Kipruto <43873157+kelvinkipruto@users.noreply.github.com> Date: Mon, 12 Aug 2024 15:50:11 +0300 Subject: [PATCH] Add tooltip Signed-off-by: Kipruto <43873157+kelvinkipruto@users.noreply.github.com> --- packages/hurumap-core/src/Scope/HeatMapScope.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/hurumap-core/src/Scope/HeatMapScope.js b/packages/hurumap-core/src/Scope/HeatMapScope.js index dcf2c379d..b57936a1f 100644 --- a/packages/hurumap-core/src/Scope/HeatMapScope.js +++ b/packages/hurumap-core/src/Scope/HeatMapScope.js @@ -125,11 +125,11 @@ export default function HeatMapScope(props) { }, }, // TODO: check why tooltip is not working correctly - // tooltip: [ - // { - // signal: `datum.${primaryGroup} + ' : ' + datum.count` - // } - // ] + tooltip: [ + { + signal: `datum.${primaryGroup} + ' : ' + + datatype[Units]`, + }, + ], }, update: { y: {