I would like to be able to add summary statistics to a legend in print composer e.g.

GB Agricultural Land Classification: - Grade 1 (Area: xx hectares, xx% of total) - Grade 2 (Area: xx hectares, xx% of total) ...

The vector layer (GB Agricultural Land Classification) is styled by category (Classification - Grade 1, Grade 2 etc).

Is this possible?

  • Does it have to be part of the legend, or can it be in a text box on the layout?
    – Simbamangu
    Jan 20 '17 at 11:33
  • I wanted it as part of the legend, it would be a good feature to be able to use an expression for legend labeling. Jan 20 '17 at 12:10

Having looked into this, there is no way in the built-in legend as expressions are not supported either in the manual edit or in the layer property dialog

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.