MCPcopy Create free account
hub / github.com/LUX-Core/lux / axes

Method axes

src/qt/qcustomplot.cpp:16870–16882  ·  view source on GitHub ↗

! Returns all axes on the axis rect sides specified with \a types. \a types may be a single \ref QCPAxis::AxisType or an or -combination, to get the axes of multiple sides. \see axis */

Source from the content-addressed store, hash-verified

16868 \see axis
16869*/
16870QList<QCPAxis*> QCPAxisRect::axes(QCPAxis::AxisTypes types) const
16871{
16872 QList<QCPAxis*> result;
16873 if (types.testFlag(QCPAxis::atLeft))
16874 result << mAxes.value(QCPAxis::atLeft);
16875 if (types.testFlag(QCPAxis::atRight))
16876 result << mAxes.value(QCPAxis::atRight);
16877 if (types.testFlag(QCPAxis::atTop))
16878 result << mAxes.value(QCPAxis::atTop);
16879 if (types.testFlag(QCPAxis::atBottom))
16880 result << mAxes.value(QCPAxis::atBottom);
16881 return result;
16882}
16883
16884/*! \overload
16885

Callers 2

selectedAxesMethod · 0.80
rescaleAxesMethod · 0.80

Calls 2

valueMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected