Add Layout Legend
add_layout_legendAdd a legend to a QGIS print layout, linked to the first map item by default. Set position and size in millimeters.
Instructions
Add a legend to a print layout, linked to a map item (defaults to the first map item). Position/size in mm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| title | No | Legend | |
| width | No | ||
| height | No | ||
| layout_name | Yes | ||
| map_item_id | No |