5

After I did styling my vector data set to be classified by graduated circle and categorized by type, it appears beautifully consistent in the map canvas as shown below: The style show in layer panel is consistent

But when I create a print map layout and after adding the map, I add the legend and it come out ugly inconsistent like this: The Legend added in the map print layout is inconsistent

So, I would like to ask for help to make the legend in the map print layout consistent as the legend shown in layer panel. I use the latest version QGIS 3.10.2 64bit.

1
  • Please consider using a different visualization option, e.g. labelling the data, using a colour-ramp, or (rather non-intuitive) different symbols. Your current visualization method is unsuited for creating a proper map.
    – Erik
    Jan 31, 2020 at 8:12

2 Answers 2

2

This issue can be split into two parts. The one regarding the "broken legend-lines not aligning" I will adress below and which is already fixed, and the second one regarding NULL values you can read up here: How to make symbols visible in legend in Layout?. The second one seems to be partially intended (I strongly disagree this should be intended though: What if I dont want to display points with nodata, which is a quite common case?), but however, there is a "workaround" provided on GitHub and GIS SE.

The part with the "broken legend lines not aligning" is already fixed. See https://github.com/qgis/QGIS/issues/34166. I recommend to update to QGIS 3.10.12 or later to fix this issue. Alternatively you can use 3.8 or below, or as a poor workaround, if the above is absolutely not an option, create a screenshot of the correct legend and add it to the print layout as image.

7
  • do you know whether the issue has been resolved already? I'm experiencing the same problem.
    – Max Muller
    Nov 29, 2020 at 12:04
  • @MaxMuller its fixed.
    – MrXsquared
    Nov 29, 2020 at 13:38
  • Really? It does not seem like that when I try it.
    – Max Muller
    Nov 29, 2020 at 14:26
  • QGIS version 3.10
    – Max Muller
    Nov 29, 2020 at 14:59
  • Which 3.10? Try the latest 3.10.12
    – MrXsquared
    Nov 29, 2020 at 15:11
0

This is a known issue but there are no perfect way to solve this right now. And it is partly intended. Just set a size when Null as per https://github.com/qgis/QGIS/issues/39882#issuecomment-723669783

0

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.