| 1629 | } |
| 1630 | |
| 1631 | CartesianCoordinateSystem* CartesianPlot::coordinateSystem(int index) const { |
| 1632 | // DEBUG(Q_FUNC_INFO << ", nr of cSystems = " << coordinateSystemCount() << ", index = " << index) |
| 1633 | if (index >= coordinateSystemCount() || index < 0) |
| 1634 | return nullptr; |
| 1635 | |
| 1636 | return dynamic_cast<CartesianCoordinateSystem*>(m_coordinateSystems.at(index)); |
| 1637 | } |
| 1638 | |
| 1639 | void CartesianPlot::addCoordinateSystem() { |
| 1640 | auto cSystem = new CartesianCoordinateSystem(this); |
no outgoing calls
no test coverage detected