Feature request #15770

[composer] allow expressions for legend item text

Added by Harrissou Santanna 8 months ago. Updated about 2 months ago.

Status:Open
Priority:Normal
Assignee:-
Category:-
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

Description

In the layer panel, it's possible to show the count of features on any layer. And this count can be shown in the composer legend.
Sometimes, instead of the number of features, it might be interesting to show in the legend the total area covered by a class.

Now that aggregate functions are availbale, It could be nice to be able to show total length/area of features of a class, or statistics on a particular field of the layer, or any other combination...

History

#1 Updated by Harrissou Santanna 8 months ago

  • Subject changed from Being able to show aggregate values besides layer classification to Being able to show other aggregate values besides classification in the layer panel or composer legend

#2 Updated by Nyall Dawson 8 months ago

  • Subject changed from Being able to show other aggregate values besides classification in the layer panel or composer legend to [composer] allow expressions for legend item text

#3 Updated by Giovanni Manghi about 2 months ago

  • Easy fix? set to No

Also available in: Atom PDF