OK, so, I don't know the internals of TimeChart as well as Karlis does, and it will take me some more time to fully grasp the problem and come up with a good solution. However I did come up with a workaround:
http://jsfiddle.net/qh3bwet9/
The idea is to remember the last known "good" position and then call .time()
to reset it back. The call to .time()
has animate=false
, to make it instantaneous. So both calls (.displayUnit()
and .time()
) are needed - the first aborts the gesture, the second resets the view.
Unfortunately there is still a "flash" because one frame still gets the wrong units painted. I will investigate how to fix this properly, but perhaps this is already good for you. If there is a popup message as well, it could mask the flash, or even make it look intentional.