Autorange = 'reversed' is not working properly

Hi,

The first time "autorange = ‘reversed’ " is working fine. when changing the side in the vertical bar graph it is not working properly.

step 1:
layout.yaxis.autorange = ‘reversed’;
layout.xaxis.side = top

step 2:
layout.yaxis.autorange = true;// autorange true is not working
layout.xaxis.side = bottom

please help me

Thanks
Bhoopesh Sisoudiya