From b98d1ce8bf31549e490dda70ed60212b13d1c8e0 Mon Sep 17 00:00:00 2001 From: GithubAnon0000 <160563432+GithubAnon0000@users.noreply.github.com> Date: Sat, 26 Apr 2025 16:22:04 +0200 Subject: [PATCH] FIX: y-axis wrongly had percentages --- ts/routes/graphs/buttons.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/routes/graphs/buttons.ts b/ts/routes/graphs/buttons.ts index 98b80e4ce..be7cb87dd 100644 --- a/ts/routes/graphs/buttons.ts +++ b/ts/routes/graphs/buttons.ts @@ -159,7 +159,7 @@ export function renderButtons( // Add a timeout to ensure that the text elements are populated setTimeout(() => { - svg.selectAll("text") + svg.select(".x-ticks").selectAll("text") .each(function(d) { const current_text_element = this; const current_text_element_content = current_text_element.textContent;