I added QCPItemLine item to the graph:
QCPItemLine *item=new QCPItemLine(ui->plot); ui->plot->addItem(item); item->start->setCoords(0,0); item->end->setCoords(0,100); item->setHead(QCPLineEnding::esSpikeArrow);
How can I change position the item. Is there a function like moveItem(); ?