Currently, it's impossible to create a legend based on taxonomy terms if they are referred to by using an entity reference field (instead of a term reference field).
Adding support for entity reference also allows to create the striping/legend based on other entity types (as long as there are not too much entities that can be referenced by the field).

Files: 

Comments

Stevel’s picture

Status:Active» Needs review
StatusFileSize
new7.75 KB
Stevel’s picture

Added a comment, some code style fixes, Added a check_plain().

BWPanda’s picture

Issue summary:View changes
Status:Needs review» Reviewed & tested by the community

This is awesome! It worked perfectly to allow me to colour nodes with different taxonomy terms referenced via entity_reference.

abx’s picture

#2 work for me

Thanks