MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / plottables

Method plottables

qcustomplot/qcustomplot.cpp:8697–8708  ·  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

8695 \see graphs, items
8696*/
8697QList<QCPAbstractPlottable*> QCPAxis::plottables() const
8698{
8699 QList<QCPAbstractPlottable*> result;
8700 if (!mParentPlot) return result;
8701
8702 for (int i=0; i<mParentPlot->mPlottables.size(); ++i)
8703 {
8704 if (mParentPlot->mPlottables.at(i)->keyAxis() == this ||mParentPlot->mPlottables.at(i)->valueAxis() == this)
8705 result.append(mParentPlot->mPlottables.at(i));
8706 }
8707 return result;
8708}
8709
8710/*!
8711 Returns a list of all the graphs that have this axis as key or value axis.

Callers 1

processRectSelectionMethod · 0.80

Calls 4

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

Tested by

no test coverage detected