Correct top and bottom chart ranges correspondance