Closed WofWca closed 2 years ago
It would depend on scrollBackwards and fillStyle being undefined or not. Depending on this, it would either continue the line up to the edge of the canvas or leave it at lastX. This makes it so that it is always left at lastX.
scrollBackwards
fillStyle
undefined
lastX
Before:
After:
TODO:
This also made me think if we should add a TimeSeries option called extrapolateFuture that would make it behave as on the "before" example.
TimeSeries
extrapolateFuture
It would depend on
scrollBackwards
andfillStyle
beingundefined
or not. Depending on this, it would either continue the line up to the edge of the canvas or leave it atlastX
. This makes it so that it is always left atlastX
.An example
Before:
After:
TODO: