demo: https://jsfiddle.net/chrisbolin/hjy9v9z4/
Usually when using Victory with real-time datasets (i.e. that grow over time) the visible domain will keep "growing" to accommodate new data.
However, once you zoom the _first time_ with VictoryZoomContainer, you cannot get back to the state where the visible domain automatically grows. No matter how much you zoom out, you are still stuck with static view.

cc @arwinsardana, who found this and posted it to gitter
also, resetting the zoomDomain to null after a full zoom out _doesn't_ fix the problem: https://jsfiddle.net/chrisbolin/hjy9v9z4/4/
@arwinsardana, i want to make sure I don't assume too much -- could you tell me how you envision VictoryZoomContainer working in this scenario? (a detailed step-by-step would be helpful, e.g. "the user zooms in and the chart does ____")
@boygirl I'd also love your thoughts - how "should" the chart react in situations like this: https://jsfiddle.net/chrisbolin/hjy9v9z4/
@chrisbolin thanks for following up!
When the user zooms in, I'd imagine the domain stays fixed and everything works the same as it would with a fixed data set. In other words, once zoomed in to a range smaller than the full chart's domain, that view stays fixed until further action.
When you pan to the right edge of the chart while zoomed in, I'm not sure if the behavior should be that the window stays where it is or slides as new data comes in. I'd be fine with the former, static window, approach when in a zoomed state.
Once the user zooms out to the point where the current domain is equivalent to the full domain of the chart, the container should update itself to display the full domain going forward (until another zoom event). In other words, once fully zoomed out, the chart should appropriately display new data points as it would without ever "remembering" that the user had zoomed in, just as it would be displaying without the zoom feature enabled.
Let me know if I can provide any more details and thanks again!
@chrisbolin I think the behavior should be:
1) When zoomed in, or _zooming in_ the domain remains static
2) When zooming _out_, or panning, the domain is calculated.
Does that sound right?
We will need to re-calculate the domain much more frequently, and not used the cached originalDomain for setting domain values. I'm not sure how much of a performance trade off this will be, but I think it's worth a shot.
@boygirl @arwinsardana cool! I think we all agree then on the functionality. I'll see what I can put together.
@chrisbolin I've noticed that the y domain doesn't update on zoom out. Here's your example modified to start with less initial data and draw slower: https://jsfiddle.net/kfy2ce5m/
If you zoom in and out before a full cycle of the sin wave, you'll notice the full wave can never be seen because the y domain doesn't correct itself. Thoughts? Thanks! CC @boygirl
Hey @chrisbolin! Let me know if you have any thoughts. Thanks!
hey @arwinsardana! sorry for my tardiness! let me quickly check this out tomorrow and get back to you
good morning! it looks like are "reset" logic that looks to see if we are zoomed in or not needs to be reworked. It also needs to respect the dimension prop. I don't have to do make the changes right now, but if you want to work on it I can show you the section of code.
also, i cannot get this to happen if I remove dimension="x". Is that the case for you? If so, we might have a super hacky workaround. Also, that fact might tell us something about the solution too.
Have changes been implemented to allow for zooming in and allows the domain to automatically scroll right as new data comes in?