It seems srolling zoomed bar chart affects the width of bars.
The width of bar will get narrow.


https://jsfiddle.net/5962c3pn/
billboard.js v1.11.1 won't reproduce this issue.
The update of width size by zoom was applied from #1185.
This issue seems related with that update. I'll check for that.
Thanks for the report!
This issue seems related with that update.
The width of bar will get narrow.
- In
getBarW,tickIntervalwill change.$$.subX.domain()[1]andmaxDataCountwon't change.- In
xx(d),$$.zoomScale(d)will change.- In
scale(d)ofgetCustomizedScale,scaleValue(d)will change.
In d3.js,
scale(x) of transformer$1, the value output returned will change.function(x) of bimap(domain, range, interpolate$$1), d0(x) will change.getCustomizedScale will be called from zoom.updateTransformScale.
$$.zoomScale = $$.getCustomizedScale(newScale);
I could not see what's the right way to update scale.
It seems zoomScale should not change even if x-offset will get larger when scrolling to right.
X-offset may possibly affect zoomScale.
@watnab, released 2.0.0-next.8 with the fix.
