From 57ecfbe562b7ea426908618fce5858a2154101f8 Mon Sep 17 00:00:00 2001 From: GithubAnon0000 <160563432+GithubAnon0000@users.noreply.github.com> Date: Mon, 5 May 2025 05:37:24 +0000 Subject: [PATCH] REMOVE percentages of x-axis in the answer buttons graph (#3952) * Allow linebreak between kind and percentage in answer buttons graph. This is BROKEN! * FIX: percentage is not below kind * FIX: y-axis wrongly had percentages * REMOVE debugging console * run ./check and fix errors * REMOVE unused comment (commented out code) * FIX: Percentage Text is cutoff (this removes transition as well) * FIX: incorrect alignment * UPDATE variable names to make them more meaningful * UNDO removing transition * REMOVE percentage from x-axis * Revert "UNDO removing transition" This reverts commit 2652b16bd7cb40e657dd7e6ffc7c11569045e49d. * RESTORE transition in x-axis --- 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 2805f89c6..565ec492a 100644 --- a/ts/routes/graphs/buttons.ts +++ b/ts/routes/graphs/buttons.ts @@ -148,7 +148,7 @@ export function renderButtons( kind = tr.statisticsCountsMatureCards(); break; } - return `${kind} \u200e(${totalCorrect(d).percent}%)`; + return `${kind}`; }) as any, ) .tickSizeOuter(0),