Plotly.js horizontal bar chart resizes entirely after zoom event

Hi, initially when the data is loaded in the graph, it plots good. But when i try to zoom in at any point on the graph, it gets bigger and the tick values are going out of bound of container div.

I’m confused. What kind of zoom event are you referring to? Providing a video screencast of the problem would help.

got that fixed, played around with range,margin