| 220 | } |
| 221 | |
| 222 | QPointF PointSeriesXY::readPoint(const PairSlot& slot) const { |
| 223 | if (slot.x_chunk == nullptr || slot.y_chunk == nullptr) { |
| 224 | return invalidPoint(); |
| 225 | } |
| 226 | if (slot.x_row >= slot.x_chunk->stats.row_count || slot.y_row >= slot.y_chunk->stats.row_count) { |
| 227 | return invalidPoint(); |
| 228 | } |
| 229 | return { |
| 230 | readY(*slot.x_chunk, x_source_.column_index, slot.x_row), |
| 231 | readY(*slot.y_chunk, y_source_.column_index, slot.y_row), |
| 232 | }; |
| 233 | } |
| 234 | |
| 235 | } // namespace PJ |
nothing calls this directly
no test coverage detected