Update ts/routes/graphs/simulator.ts

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
This commit is contained in:
Luc Mcgrady 2025-07-13 19:51:57 +01:00 committed by GitHub
parent 7e042baa3a
commit fe69706255
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,7 +67,7 @@ export function renderWorkloadChart(
};
const formatY: (value: number) => string = ({
[SimulateWorkloadSubgraph.ratio]: (value: number) => `${timeSpan(value)} per 1 card memorized`,
[SimulateWorkloadSubgraph.ratio]: (value: number) => `${timeSpan(value)} per memorized card`,
[SimulateWorkloadSubgraph.time]: timeSpan,
[SimulateWorkloadSubgraph.memorized]: (value: number) =>
tr.statisticsMemorized({ memorized: Math.round(value).toFixed(0) }),