in comparison page, display only needed legend elements