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

Method dataPointCount

qcustomplot/qcustomplot.cpp:2501–2507  ·  view source on GitHub ↗

! Returns the total number of data points contained in all data ranges that make up this data selection. */

Source from the content-addressed store, hash-verified

2499 selection.
2500*/
2501int QCPDataSelection::dataPointCount() const
2502{
2503 int result = 0;
2504 for (int i=0; i<mDataRanges.size(); ++i)
2505 result += mDataRanges.at(i).length();
2506 return result;
2507}
2508
2509/*!
2510 Returns the data range with the specified \a index.

Callers 1

processRectSelectionMethod · 0.80

Calls 2

atMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected