! Returns the total number of data points contained in all data ranges that make up this data selection. */
| 2526 | selection. |
| 2527 | */ |
| 2528 | int QCPDataSelection::dataPointCount() const |
| 2529 | { |
| 2530 | int result = 0; |
| 2531 | foreach (QCPDataRange dataRange, mDataRanges) |
| 2532 | result += dataRange.length(); |
| 2533 | return result; |
| 2534 | } |
| 2535 | |
| 2536 | /*! |
| 2537 | Returns the data range with the specified \a index. |
no test coverage detected