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

Method setBrushNegative

qcustomplot/qcustomplot.cpp:26431–26434  ·  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 negative 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 setBrushPositive, setPenNegative, setPenPositive */

Source from the content-addressed store, hash-verified

26429 \see setBrushPositive, setPenNegative, setPenPositive
26430*/
26431void QCPFinancial::setBrushNegative(const QBrush &brush)
26432{
26433 mBrushNegative = brush;
26434}
26435
26436/*!
26437 If \ref setTwoColored is set to true, this function controls the pen that is used to draw

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected