mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
skip missing datapoints in hour graph
This commit is contained in:
parent
32612fc84c
commit
b3df572f31
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ export function renderHours(
|
|||
"d",
|
||||
area<Hour>()
|
||||
.curve(curveBasis)
|
||||
.defined((d) => d.totalCount > 0)
|
||||
.x((d: Hour) => {
|
||||
return x(d.hour.toString())! + x.bandwidth() / 2;
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue