inherits documentation from base class */
| 28294 | |
| 28295 | /* inherits documentation from base class */ |
| 28296 | int QCPErrorBars::findBegin(double sortKey, bool expandedRange) const |
| 28297 | { |
| 28298 | if (mDataPlottable) |
| 28299 | { |
| 28300 | if (mDataContainer->isEmpty()) |
| 28301 | return 0; |
| 28302 | int beginIndex = mDataPlottable->interface1D()->findBegin(sortKey, expandedRange); |
| 28303 | if (beginIndex >= mDataContainer->size()) |
| 28304 | beginIndex = mDataContainer->size()-1; |
| 28305 | return beginIndex; |
| 28306 | } else |
| 28307 | qDebug() << Q_FUNC_INFO << "no data plottable set"; |
| 28308 | return 0; |
| 28309 | } |
| 28310 | |
| 28311 | /* inherits documentation from base class */ |
| 28312 | int QCPErrorBars::findEnd(double sortKey, bool expandedRange) const |
no test coverage detected