Feature request #15770

[composer] allow expressions for legend item text

Added by Harrissou Santanna over 7 years ago. Updated over 6 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Unknown
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:23692

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 over 7 years 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 over 7 years 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 almost 7 years ago

  • Easy fix? set to No

#4 Updated by Jürgen Fischer over 6 years ago

  • Category set to Unknown

Also available in: Atom PDF