gray out legend items based on layer's scale