MCPcopy Create free account
hub / github.com/LUX-Core/lux / dataPointCount

Method dataPointCount

src/qt/qcustomplot.cpp:2496–2502  ·  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

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

Callers 1

processRectSelectionMethod · 0.80

Calls 3

sizeMethod · 0.45
lengthMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected