Try selecting the zoomable region as the entire x axis, from right to left.
Expected behaviour: we can select from the end to the start of the x-axis.
Actual behaviour: the draggable region stops shortly before the start of the x axis.
The drag zoom appears to assume that a y-axis exists, but where we use the y2 axis instead the drag area should handle this scenario.
JSFiddle, using C3 master
Try selecting the zoomable region as the entire x axis, from right to left.
Expected behaviour: we can select from the end to the start of the x-axis. Actual behaviour: the draggable region stops shortly before the start of the x axis.
The drag zoom appears to assume that a
y
-axis exists, but where we use they2
axis instead the drag area should handle this scenario.