Perspective XY Chart - Y axis Maximum Value not getting changed to visible series

In my project there is an XY Chart holding 4 series of values. XY Chart has the inbuilt option of hiding the series when it is live. During that time when i want to hide some series, the maximum value of y chart is not getting updated to the visible series maximum y value instead it is holding the maximum value of all the series. How to resolve this issue?