Graphs2D: keep draghandlers and markers in sync


In XYSeries, if the pointmarkers can be dragged a draghandler is
associated with each marker. These markers and handlers are stored in
separated lists which need to be kept in sync. Previously,
the pointrenderer did not resize the handler list when markers were
removed from the marker list.

This change, in addition to removing markers, resizes the handler list
as well.

Pick-to: 6.11 6.12
Fixes: QTBUG-149369
Change-Id: I6747ed13c598b46b3025cd7a20b544d3df4d14ea
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
commit4560d80fac394c87d3b718fc719f18705e0399ff
parent61106f70fdbdf7366880bf7dcd736d98fdf9fcae
authorSami Varanka <sami.varanka@qt.io>
committerSami Varanka <sami.varanka@qt.io>
commit timeTue, 1 Sep 2026 05:20:53 +0000