| 1523 | } |
| 1524 | |
| 1525 | void CartesianPlot::setMax(const Dimension dim, int index, double value) { |
| 1526 | DEBUG(Q_FUNC_INFO << ", direction: " << CartesianCoordinateSystem::dimensionToString(dim).toStdString() << "value = " << value) |
| 1527 | if (index >= rangeCount(dim)) |
| 1528 | return; |
| 1529 | Range<double> r{range(dim, index)}; |
| 1530 | r.setEnd(value); |
| 1531 | |
| 1532 | setRange(dim, index, r); |
| 1533 | } |
| 1534 | |
| 1535 | // x/y scale |
| 1536 |
no test coverage detected