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>