3

I have a rule-based style that is linked to a print-composer. In that composer I activated the atlas-function with a filter.

Because of that filter the outcome of the rulebased style varies.

enter image description here

Is there a way to make the labels in the legend also dynamic, so the legend shows the exact results without putting them in manualy?

(I'm using QGIS 2.18.18)

1

There is a work-around that you could do.

If you remove all of the labels from the legend (so you only have the boxes), then put a label (print composer label) in the print composer where you can insert in functions.

You could have one label per legend item, or all in the same one if your spacing lines up correctly.

You could also set up a feature request for this, as I can see use cases.

  • that's the way I do now. I just hoped someone had the sollution. I will make a feature request. – PieterB May 30 '18 at 9:20

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.