5

Is there a way to manually control the feature count for vector layer legend entries in a print layout in QGIS?

  1. Activate feature count for a vector layer in the layer tree context menu for the layer
  2. Add a legend containing this layer in a print layout
  3. Uncheck auto-update
  4. Deactivate feature count for the layer in the layer tree
  5. See the layer label in the print layout. The feature count is still there, but there's no option to manually control its display.

Am I missing something or is this really a feature that does not exist yet?

Layer tree view

Print layout legend view

2
  • If you set auto-update ON again - then the feature count should disappear.
    – Aquamarine
    Mar 31, 2023 at 10:38
  • Thank you, but that's not what I meant. I found the answer myself.
    – winnewoerp
    Apr 2, 2023 at 12:50

1 Answer 1

5

The feature count display within the legend in a QGIS print layout can be controlled via the button with the sum sign below the layer tree in the legend options (right button). enter image description here

I expected the option within the legend layer context menu, that's why I did not find it.

1
  • Awesome. Don't suppose there's a way to do that automatically - Mine doesn't but it might be because I'm using a Theme?
    – Nick_Jo
    Dec 11, 2023 at 5:10

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.