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

Method graphs

qcustomplot/qcustomplot.cpp:8715–8726  ·  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

8713 \see plottables, items
8714*/
8715QList<QCPGraph*> QCPAxis::graphs() const
8716{
8717 QList<QCPGraph*> result;
8718 if (!mParentPlot) return result;
8719
8720 for (int i=0; i<mParentPlot->mGraphs.size(); ++i)
8721 {
8722 if (mParentPlot->mGraphs.at(i)->keyAxis() == this || mParentPlot->mGraphs.at(i)->valueAxis() == this)
8723 result.append(mParentPlot->mGraphs.at(i));
8724 }
8725 return result;
8726}
8727
8728/*!
8729 Returns a list of all the items that are associated with this axis. An item is considered

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected