MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / setBarsGroup

Method setBarsGroup

3rdparty/qcustomplot/qcustomplot.cpp:24533–24542  ·  view source on GitHub ↗

! Sets to which QCPBarsGroup this QCPBars instance belongs to. Alternatively, you can also use \ref QCPBarsGroup::append. To remove this QCPBars from any group, set \a barsGroup to \c nullptr. */

Source from the content-addressed store, hash-verified

24531 To remove this QCPBars from any group, set \a barsGroup to \c nullptr.
24532*/
24533void QCPBars::setBarsGroup(QCPBarsGroup *barsGroup)
24534{
24535 // deregister at old group:
24536 if (mBarsGroup)
24537 mBarsGroup->unregisterBars(this);
24538 mBarsGroup = barsGroup;
24539 // register at new group:
24540 if (mBarsGroup)
24541 mBarsGroup->registerBars(this);
24542}
24543
24544/*!
24545 Sets the base value of this bars plottable.

Callers 4

clearMethod · 0.80
appendMethod · 0.80
insertMethod · 0.80
removeMethod · 0.80

Calls 2

unregisterBarsMethod · 0.80
registerBarsMethod · 0.80

Tested by

no test coverage detected