From c428108713b3e9185978a7b3cb2a12a5ec6bc99d Mon Sep 17 00:00:00 2001 From: Jonathan Schneider Date: Tue, 27 Aug 2024 21:48:00 +0200 Subject: [PATCH] fix(plugins): display correct tooltip (fixes #3342) (#30023) --- .../plugins/legacy-plugin-chart-chord/src/Chord.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset-frontend/plugins/legacy-plugin-chart-chord/src/Chord.js b/superset-frontend/plugins/legacy-plugin-chart-chord/src/Chord.js index 2daed05f47f14..f947e9ff697d8 100644 --- a/superset-frontend/plugins/legacy-plugin-chart-chord/src/Chord.js +++ b/superset-frontend/plugins/legacy-plugin-chart-chord/src/Chord.js @@ -130,9 +130,9 @@ function Chord(element, props) { .text( d => `${nodes[d.source.index]} → ${nodes[d.target.index]}: ${f( - d.source.value, - )}\n${nodes[d.target.index]} → ${nodes[d.source.index]}: ${f( d.target.value, + )}\n${nodes[d.target.index]} → ${nodes[d.source.index]}: ${f( + d.source.value, )}`, ); }