Chart: Changing min/max price hides volume

 

Hi, I would like to change the min/max price of a chart to see the trade level even after breakouts without changing the periodicity. But if I do that with the code sample below the tick volume disappears. If I do the same manually with the mouse on the vertical price scale it works. Is there any other or better way than

 

ChartSetInteger(0,CHART_SCALEFIX,1);

ChartSetDouble(0,CHART_FIXED_MIN,minPrice);
ChartSetDouble(0,CHART_FIXED_MAX,maxPrice);
   
   
ChartSetInteger(0,CHART_SHOW_VOLUMES,CHART_VOLUME_TICK);  
or
ChartRedraw(0);
doesn't help