QCustomPlot Discussion and Comments

Display data without inter-connected segmentsReturn to overview

Hello all,

I am trying to plot 2D data with data points only with the scatter style such as QCPScatterStyle::ssCross. But with "customPlot->graph()->setData(x, y);" points will be inter connected with lines. May I know if I can plot without the inter-connected segments, leaving only the scatter style points? Thank you.

Regards,
Eric

yes someGraph->setLineStyle(QCPGraph::lsNone);

Cool, it works! Thank you!