Other quick ranges (Yesterday, today...etc) shows partly graphs in newer version

Hi,
old version of grafana(grafana-4.6.4-1.x86_64) looks like this if i select Yesterday:


where as in newer version of grafana shows partly graphs as shown below:

I am not able to figureout what I have to do to display like older ver of graph.
Please can anyone help me with this.
thanks TO ALL