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

Method graphs

src/qt/qcustomplot.cpp:8704–8715  ·  view source on GitHub ↗

! Returns a list of all the graphs that have this axis as key or value axis. \see plottables, items */

Source from the content-addressed store, hash-verified

8702 \see plottables, items
8703*/
8704QList<QCPGraph*> QCPAxis::graphs() const
8705{
8706 QList<QCPGraph*> result;
8707 if (!mParentPlot) return result;
8708
8709 for (int i=0; i<mParentPlot->mGraphs.size(); ++i)
8710 {
8711 if (mParentPlot->mGraphs.at(i)->keyAxis() == this || mParentPlot->mGraphs.at(i)->valueAxis() == this)
8712 result.append(mParentPlot->mGraphs.at(i));
8713 }
8714 return result;
8715}
8716
8717/*!
8718 Returns a list of all the items that are associated with this axis. An item is considered

Callers

nothing calls this directly

Calls 4

axisRectMethod · 0.80
sizeMethod · 0.45
atMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected