inherits documentation from base class */
| 27504 | |
| 27505 | /* inherits documentation from base class */ |
| 27506 | int QCPErrorBars::findBegin(double sortKey, bool expandedRange) const |
| 27507 | { |
| 27508 | if (mDataPlottable) |
| 27509 | { |
| 27510 | if (mDataContainer->isEmpty()) |
| 27511 | return 0; |
| 27512 | int beginIndex = mDataPlottable->interface1D()->findBegin(sortKey, expandedRange); |
| 27513 | if (beginIndex >= mDataContainer->size()) |
| 27514 | beginIndex = mDataContainer->size()-1; |
| 27515 | return beginIndex; |
| 27516 | } else |
| 27517 | qDebug() << Q_FUNC_INFO << "no data plottable set"; |
| 27518 | return 0; |
| 27519 | } |
| 27520 | |
| 27521 | /* inherits documentation from base class */ |
| 27522 | int QCPErrorBars::findEnd(double sortKey, bool expandedRange) const |
no test coverage detected