skip missing datapoints in hour graph
This commit is contained in:
parent
32612fc84c
commit
b3df572f31
@ -156,6 +156,7 @@ export function renderHours(
|
|||||||
"d",
|
"d",
|
||||||
area<Hour>()
|
area<Hour>()
|
||||||
.curve(curveBasis)
|
.curve(curveBasis)
|
||||||
|
.defined((d) => d.totalCount > 0)
|
||||||
.x((d: Hour) => {
|
.x((d: Hour) => {
|
||||||
return x(d.hour.toString())! + x.bandwidth() / 2;
|
return x(d.hour.toString())! + x.bandwidth() / 2;
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user