Adjusting legend axis based on visible points.