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

Method setAutoAddPlottableToLegend

qcustomplot/qcustomplot.cpp:13069–13072  ·  view source on GitHub ↗

! If set to true, adding a plottable (e.g. a graph) to the QCustomPlot automatically also adds the plottable to the legend (QCustomPlot::legend). \see addGraph, QCPLegend::addItem */

Source from the content-addressed store, hash-verified

13067 \see addGraph, QCPLegend::addItem
13068*/
13069void QCustomPlot::setAutoAddPlottableToLegend(bool on)
13070{
13071 mAutoAddPlottableToLegend = on;
13072}
13073
13074/*!
13075 Sets the possible interactions of this QCustomPlot as an or-combination of \ref QCP::Interaction

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected