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

Method plottables

src/qt/qcustomplot.cpp:8686–8697  ·  view source on GitHub ↗

! Returns a list of all the plottables that have this axis as key or value axis. If you are only interested in plottables of type QCPGraph, see \ref graphs. \see graphs, items */

Source from the content-addressed store, hash-verified

8684 \see graphs, items
8685*/
8686QList<QCPAbstractPlottable*> QCPAxis::plottables() const
8687{
8688 QList<QCPAbstractPlottable*> result;
8689 if (!mParentPlot) return result;
8690
8691 for (int i=0; i<mParentPlot->mPlottables.size(); ++i)
8692 {
8693 if (mParentPlot->mPlottables.at(i)->keyAxis() == this ||mParentPlot->mPlottables.at(i)->valueAxis() == this)
8694 result.append(mParentPlot->mPlottables.at(i));
8695 }
8696 return result;
8697}
8698
8699/*!
8700 Returns a list of all the graphs that have this axis as key or value axis.

Callers 1

processRectSelectionMethod · 0.80

Calls 4

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

Tested by

no test coverage detected