Fix chart ranges