inherits documentation from base class */
| 28310 | |
| 28311 | /* inherits documentation from base class */ |
| 28312 | int QCPErrorBars::findEnd(double sortKey, bool expandedRange) const |
| 28313 | { |
| 28314 | if (mDataPlottable) |
| 28315 | { |
| 28316 | if (mDataContainer->isEmpty()) |
| 28317 | return 0; |
| 28318 | int endIndex = mDataPlottable->interface1D()->findEnd(sortKey, expandedRange); |
| 28319 | if (endIndex > mDataContainer->size()) |
| 28320 | endIndex = mDataContainer->size(); |
| 28321 | return endIndex; |
| 28322 | } else |
| 28323 | qDebug() << Q_FUNC_INFO << "no data plottable set"; |
| 28324 | return 0; |
| 28325 | } |
| 28326 | |
| 28327 | /*! |
| 28328 | Implements a selectTest specific to this plottable's point geometry. |
no test coverage detected