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

Method setBrushPositive

qcustomplot/qcustomplot.cpp:26417–26420  ·  view source on GitHub ↗

! If \ref setTwoColored is set to true, this function controls the brush that is used to draw fills of data points with a positive trend (i.e. bars/candlesticks with close >= open). If \a twoColored is false, the normal plottable's pen and brush are used (\ref setPen, \ref setBrush). \see setBrushNegative, setPenPositive, setPenNegative */

Source from the content-addressed store, hash-verified

26415 \see setBrushNegative, setPenPositive, setPenNegative
26416*/
26417void QCPFinancial::setBrushPositive(const QBrush &brush)
26418{
26419 mBrushPositive = brush;
26420}
26421
26422/*!
26423 If \ref setTwoColored is set to true, this function controls the brush that is used to draw fills

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected