MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / plottable

Method plottable

3rdparty/qcustomplot/qcustomplot.cpp:14242–14252  ·  view source on GitHub ↗

! Returns the plottable with \a index. If the index is invalid, returns \c nullptr. There is an overloaded version of this function with no parameter which returns the last added plottable, see QCustomPlot::plottable() \see plottableCount */

Source from the content-addressed store, hash-verified

14240 \see plottableCount
14241*/
14242QCPAbstractPlottable *QCustomPlot::plottable(int index)
14243{
14244 if (index >= 0 && index < mPlottables.size())
14245 {
14246 return mPlottables.at(index);
14247 } else
14248 {
14249 qDebug() << Q_FUNC_INFO << "index out of bounds:" << index;
14250 return nullptr;
14251 }
14252}
14253
14254/*! \overload
14255

Callers 4

itemWithPlottableMethod · 0.80
colorMapsMethod · 0.80
onLegendClickMethod · 0.80
onLegendDoubleClickMethod · 0.80

Calls 3

sizeMethod · 0.45
atMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected