Add legends documentation