MCPcopy Create free account
hub / github.com/KDE/labplot / setMax

Method setMax

src/backend/worksheet/plots/cartesian/CartesianPlot.cpp:1525–1533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1523}
1524
1525void 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

Callers 4

maxChangedMethod · 0.80
maxDateTimeChangedMethod · 0.80
showParetoPlotMethod · 0.80
checkRangeMethod · 0.80

Calls 2

toStdStringMethod · 0.80
setEndMethod · 0.45

Tested by

no test coverage detected