From c93bc5937b57eda6666f992aa6c7db7a2a8d413f Mon Sep 17 00:00:00 2001 From: terrtia Date: Wed, 10 Jul 2024 15:52:18 +0200 Subject: [PATCH] fix: [user-account] fix chord graph tooltip --- var/www/templates/chats_explorer/user_account.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/www/templates/chats_explorer/user_account.html b/var/www/templates/chats_explorer/user_account.html index 627c4b87..837b7ac2 100644 --- a/var/www/templates/chats_explorer/user_account.html +++ b/var/www/templates/chats_explorer/user_account.html @@ -103,12 +103,12 @@ d3.json("{{ url_for('chats_explorer.user_account_messages_stats_week_all') }}?su let url = "{{ url_for('chats_explorer.objects_user_account_chats_chord_json') }}?subtype={{ meta["subtype"] }}&id={{ meta["id"] }}" d3.json(url).then(function(data) { - create_directed_chord_diagram('#chord_user_chats', data, mouseover_tooltip_ail_obj, mouseout_tooltip_ail_obj); + create_directed_chord_diagram('#chord_user_chats', data, 0, -1, mouseover_tooltip_ail_obj, mouseout_tooltip_ail_obj); }); let url2 = "{{ url_for('chats_explorer.objects_user_account_mentions_chord_json') }}?subtype={{ meta["subtype"] }}&id={{ meta["id"] }}" d3.json(url2).then(function(data) { - create_directed_chord_diagram('#chord_mentions', data, mouseover_tooltip_ail_obj, mouseout_tooltip_ail_obj); + create_directed_chord_diagram('#chord_mentions', data, 0, -1, mouseover_tooltip_ail_obj, mouseout_tooltip_ail_obj); });