Bug report #19099

Updated by Jürgen Fischer about 2 years ago

The data-defined size symbols feature has a set of unhandled issues i reported months ago (see "list":/projects/qgis/issues?utf8=%E2%9C%93&set_filter=1&f%5B%5D=status_id&op%5Bstatus_id%5D=o&f%5B%5D=description&op%5Bdescription%5D=%7E&v%5Bdescription%5D%5B%5D=size+legend&f%5B%5D=&c%5B%5D=tracker&c%5B%5D=status&c%5B%5D=priority&c%5B%5D=subject&c%5B%5D=assigned_to&c%5B%5D=updated_on&group_by=) (eg https://issues.qgis.org/projects/qgis/issues?utf8=%E2%9C%93&set_filter=1&f%5B%5D=status_id&op%5Bstatus_id%5D=o&f%5B%5D=description&op%5Bdescription%5D=%7E&v%5Bdescription%5D%5B%5D=size+legend&f%5B%5D=&c%5B%5D=tracker&c%5B%5D=status&c%5B%5D=priority&c%5B%5D=subject&c%5B%5D=assigned_to&c%5B%5D=updated_on&group_by=) but i think this one is a really broken feature that can lead to wrong information on maps.

Apply a scaled size to a point layer
At the bottom of the properties, choose to enable the data defined Size Legend
In the new dialog, choose "separated legend items", do the other settings and apply.
Most of the times, the symbols won't scale in the preview frame nor in the layers panel but the size displayed in the layers panel, hence in the layout legend, is really wrong. Really bigger than what's displayed in the map canvas.
If you switch to the "collapsed size symbols", you'll notice the difference of size and that sizes are coherent now.