Skip to main content

Questions tagged [qgslayoutitemlegend]

The tag has no usage guidance.

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 ...
i3-Maikel's user avatar
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 ...
Diogo Barros's user avatar
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 = ...
Francisco Camello's user avatar