I successfully formatted a label background color based on a CASE expression (linked to the Border color property):

CASE WHEN  "NextStep"  =  'closed'  THEN 
ELSE color_rgb(255,0,0) 

However, when creating the composer, this distinction of label background color is not reflected...

The only categories that are listed in the legend is based on the style categories.

What do you suggest to get a clear legend taking into account the various label format based on specific expression?

  • How does your expression look like? – CARTOS Jan 1 '16 at 11:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.