| 730 | } |
| 731 | |
| 732 | void CartesianCoordinateSystem::setIndex(const Dimension dim, const int index) { |
| 733 | switch (dim) { |
| 734 | case Dimension::X: |
| 735 | d->xIndex = index; |
| 736 | d->xScales.clear(); |
| 737 | break; |
| 738 | case Dimension::Y: |
| 739 | d->yIndex = index; |
| 740 | d->yScales.clear(); |
| 741 | break; |
| 742 | } |
| 743 | } |
| 744 | |
| 745 | /*! |
| 746 | * Adjusted the function QRectF::contains(QPointF) from Qt 4.8.4 to handle the |
no test coverage detected