! Returns the total number of data points contained in all data ranges that make up this data selection. */
| 2499 | selection. |
| 2500 | */ |
| 2501 | int 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. |
no test coverage detected