Dragging graphs legends