-
Notifications
You must be signed in to change notification settings - Fork 335
Closed
Labels
Description
Plus panning on indexScale when zoomed in also causes zoom.
Zoom: the zoom
parameter is a proportion. On linearScale it does work like that, but on the indexScale it's adding/removing 1 label at a time. Totally broken with large datasets. Make it work like linearScale.
Pan: calculate dIndex
first, limit if 0 .. lastLabelIndex
range would be exceeded, then modify minIndex
, maxIndex
with the exact same dIndex
.
Pan on indexScale currently unusable with large datasets. Make pan distance proportional to mouse/touch gesture size.
Probably fixes some other related issues.
Pull request coming immediately.