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

Method bars

qcustomplot/qcustomplot.cpp:23278–23288  ·  view source on GitHub ↗

! Returns the QCPBars instance with the specified \a index in this group. If no such QCPBars exists, returns 0. \see bars(), size */

Source from the content-addressed store, hash-verified

23276 \see bars(), size
23277*/
23278QCPBars *QCPBarsGroup::bars(int index) const
23279{
23280 if (index >= 0 && index < mBars.size())
23281 {
23282 return mBars.at(index);
23283 } else
23284 {
23285 qDebug() << Q_FUNC_INFO << "index out of bounds:" << index;
23286 return 0;
23287 }
23288}
23289
23290/*!
23291 Removes all QCPBars plottables from this group.

Callers

nothing calls this directly

Calls 2

atMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected