6

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 rule-based 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 manually?

I'm using QGIS 2.18.18.

1 Answer 1

3

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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