Hello,

First of all, thank you for this great library. I've just started using it and it seems very nice!

I am plotting a very simple graph for which I would like to be able to select a single point by clicking on (or close to) it.
I tried something like this:

ui->pressurePlot->setInteractions(QCP::iSelectPlottables);
ui->pressurePlot->addGraph();
ui->pressurePlot->graph(0)->setScatterStyle(QCPScatterStyle(QCPScatterStyle::ssCircle, Qt::blue, Qt::white, 5));
ui->pressurePlot->graph(0)->setData(x, y);
ui->pressurePlot->graph(0)->setSelectable(QCP::stSingleData);
ui->pressurePlot->replot();

But unfortunately nothing happens on my plot when trying to click on a point to select it...

Could you help me?

Thank you very much for your help,

Chris