Questions tagged [qgslayoutitemlegend]
The qgslayoutitemlegend tag has no usage guidance.
3
questions
0
votes
1
answer
38
views
Make position of layout items adaptive in QGIS Layout to avoid empty spaces due to dynamic layout items
In the QGIS Layout manager I have a Legend item and a Label item beneath it. The Legend item only shows items inside linked maps. Therefore the legend height is different by every map I make. To avoid ...
1
vote
1
answer
65
views
Changing legend font in QGIS composition using PyQGIS
I'm working with PyQGIS and have a function that successfully adds a legend to a QGIS composition, including layers and their symbology. However, I'm struggling to figure out how to change the font of ...
2
votes
1
answer
89
views
How to hide or remove the subgroup labels on a QgsLayoutItemLegend with PyQGIS?
I'm trying to build a layout with pyqgis and I'm not able to hide or remove the label from the caption subgroup as shown in the image below.
This is what I have until now:
...
legend = ...