Bug? Seems like odd functionality
See example on: http://recharts.org/#/en-US/examples/SynchronizedLineChart
Both charts are a downward slant. If you move the left brush towards the right, you will see the top of the graph scale downwards where the maximum value shrinks to increase the resolution of the graph. This is expected. However, if you take the right brush and move it towards the left, the _minimum value_ of the graph does not increase accordingly and stays locked at 0.
This is also odd behavior because the minimum value does scale when you look at http://recharts.org/#/en-US/examples/BrushBarChart. Maybe it is only an issue with the minimum Y value is 0?
Both the minimum and maximum values of the charts scale based visible values for maximum graph resolution.
All versions, I don't believe this has ever been functional
Closing.
This can be achieved by setting the Y Axis from it's default value to domain={["dataMin", "dataMax"]}
I.e.
<YAxis orientation="left" domain={["dataMin", "dataMax"]} />
Most helpful comment
Closing.
This can be achieved by setting the Y Axis from it's default value to
domain={["dataMin", "dataMax"]}I.e.