ratio legend