vasturiano / timelines-chart

Timelines Chart
http://vasturiano.github.io/timelines-chart/example/categorical/
MIT License
556 stars 121 forks source link

Bug in custom time format example when zoom-in #96

Open Piyush3dB opened 3 years ago

Piyush3dB commented 3 years ago

In the custom-time-format example, there appears to be a bug in that the zoom does not work correctly.

Attached a GIF showing this.

Any pointers as to the problem? I could try and fix it myself if given some hints where to look in the code.

Beat Regards! d3-timelines-bug

Digicrat commented 2 years ago

I just encountered the same issue.

It looks like the issue is in the box-select for zooming. After some level of zoom, it seemingly stops accepting inputs.

If I manually call chart.zoomX([val1,val2]) from the developer console, it will zoom in to any arbitrary level without issue, so this should be a relatively simple issue with the box select logic.