From 0842e51880ecf0bd59b5d70507fbe21464de30fa Mon Sep 17 00:00:00 2001 From: Luc Mcgrady Date: Thu, 9 Jan 2025 10:44:54 +0000 Subject: [PATCH] Added colour to simulator tooltip (#3692) * Added colour to simulator tooltip * ./check --- ts/routes/graphs/simulator.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ts/routes/graphs/simulator.ts b/ts/routes/graphs/simulator.ts index f509e2691..4779fa3be 100644 --- a/ts/routes/graphs/simulator.ts +++ b/ts/routes/graphs/simulator.ts @@ -196,7 +196,9 @@ export function renderSimulationChart( const hidden = path.classed("hidden"); if (!hidden) { - tooltipContent += `#${key}: ${formatY(value)}
`; + tooltipContent += ` #${key}: ${ + formatY(value) + }
`; } }