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?