Hi, i have a problem adding some QCPItemText

This is how add it to the qcustomplot:

 QCPItemTracer *punto1 = new QCPItemTracer(ui->qcustomplot);
            punto1->setLayer(ui->qcustomplot->currentLayer());
            punto1->setGraph(ui->qcustomplot->graph(contadorPlots));
            punto1->setGraphKey(x1[0]);
            punto1->setInterpolating(true);
            punto1->setStyle(QCPItemTracer::tsCircle);
            punto1->setPen(QPen(Qt::red));
            punto1->setBrush(Qt::red);
            punto1->setSize(8);
            QCPItemText *textLabel1 = new QCPItemText(ui->qcustomplot);
            textLabel1->setLayer(ui->qcustomplot->currentLayer());
            textLabel1->position->setType(QCPItemPosition::ptPlotCoords);
            textLabel1->position->setAxes(ui->qcustomplot->xAxis,ui->qcustomplot->yAxis);
            textLabel1->position->setCoords(posIni);
            textLabel1->setText(QString("%1 ªF").arg(QString::number(TCalPINCH_HOT[i][0])));
            textLabel1->setFont(QFont(font().family(), 8)); // make font a bit larger
            textLabel1->setPadding(QMargins(8, 0, 0, 0));
            textLabel1->setPen(QPen(Qt::black));
            
            QCPItemTracer *punto2 = new QCPItemTracer(ui->qcustomplot);
            punto2->setLayer(ui->qcustomplot->currentLayer());
            punto2->setGraph(ui->qcustomplot->graph(contadorPlots));
            punto2->setGraphKey(x1[1]);
            punto2->setInterpolating(true);
            punto2->setStyle(QCPItemTracer::tsCircle);
            punto2->setPen(QPen(Qt::red));
            punto2->setBrush(Qt::red);
            punto2->setSize(7);
            QCPItemText *textLabel2 = new QCPItemText(ui->qcustomplot);
            //textLabel2->setPositionAlignment(Qt::AlignTop|Qt::AlignHCenter);
            textLabel2->setLayer(ui->qcustomplot->currentLayer());
            textLabel2->position->setType(QCPItemPosition::ptPlotCoords);
            textLabel2->position->setAxes(ui->qcustomplot->xAxis,ui->qcustomplot->yAxis);
            textLabel2->position->setCoords(posFin);
            textLabel2->setText(QString("%1 ªF").arg(QString::number(TCalPINCH_HOT[i][1])));
            textLabel2->setFont(QFont(font().family(), 8)); // make font a bit larger
            textLabel2->setPadding(QMargins(8, 0, 0, 0));
            textLabel2->setPen(QPen(Qt::black));

Where TCalPINCH_HOT[0] and TCalPINCH_HOT[1] are doubles., an example of how it looks:

250 ________________________________________________________130 line 1
180_________________________________________________________130 line 2
200_________________________________________________________110 line 3
230_________________________________________________________110 lin3 4

So i have to conect for example linea 2 with 4 and and plot again BUT I GET DELETE A QCPItemTracer or QCPItemTracer .... Im trying to figure out whats going on but the program always crash...