inherits documentation from base class */
| 27421 | |
| 27422 | /* inherits documentation from base class */ |
| 27423 | int QCPErrorBars::findBegin(double sortKey, bool expandedRange) const |
| 27424 | { |
| 27425 | if (mDataPlottable) |
| 27426 | { |
| 27427 | if (mDataContainer->isEmpty()) |
| 27428 | return 0; |
| 27429 | int beginIndex = mDataPlottable->interface1D()->findBegin(sortKey, expandedRange); |
| 27430 | if (beginIndex >= mDataContainer->size()) |
| 27431 | beginIndex = mDataContainer->size()-1; |
| 27432 | return beginIndex; |
| 27433 | } else |
| 27434 | qDebug() << Q_FUNC_INFO << "no data plottable set"; |
| 27435 | return 0; |
| 27436 | } |
| 27437 | |
| 27438 | /* inherits documentation from base class */ |
| 27439 | int QCPErrorBars::findEnd(double sortKey, bool expandedRange) const |
no test coverage detected