MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / setScatterSkip

Method setScatterSkip

qcustomplot/qcustomplot.cpp:20197–20200  ·  view source on GitHub ↗

! If scatters are displayed (scatter style not \ref QCPScatterStyle::ssNone), \a skip number of scatter points are skipped/not drawn after every drawn scatter point. This can be used to make the data appear sparser while for example still having a smooth line, and to improve performance for very high density plots. If \a skip is set to 0 (default), all scatter points are drawn. \see

Source from the content-addressed store, hash-verified

20195 \see setScatterStyle
20196*/
20197void QCPGraph::setScatterSkip(int skip)
20198{
20199 mScatterSkip = qMax(0, skip);
20200}
20201
20202/*!
20203 Sets the target graph for filling the area between this graph and \a targetGraph with the current

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected