mirror of
https://github.com/ankitects/anki.git
synced 2026-01-07 02:53:54 -05:00
Update ts/routes/graphs/reviews.ts
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
This commit is contained in:
parent
ce9b087190
commit
d737f5da72
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ export function renderReviews(
|
|||
}
|
||||
const desiredBars = Math.min(70, Math.abs(xMin!));
|
||||
const shouldCapRange = range !== GraphRange.AllTime;
|
||||
const originalXMin = shouldCapRange ? xMin! : undefined;
|
||||
const originalXMin = xMin!;
|
||||
|
||||
// Create initial scale to determine tick spacing
|
||||
let x = scaleLinear().domain([xMin!, xMax]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue