! Controls over how many data points the slope shall be averaged, when brackets shall be aligned with the data (if \ref setTangentToData is true). From the position of the bracket, \a pointCount points towards the selected data range will be taken into account. The smallest value of \a pointCount is 1, which is effectively equivalent to disabling \ref setTangentToData. */
| 16508 | disabling \ref setTangentToData. |
| 16509 | */ |
| 16510 | void QCPSelectionDecoratorBracket::setTangentAverage(int pointCount) |
| 16511 | { |
| 16512 | mTangentAverage = pointCount; |
| 16513 | if (mTangentAverage < 1) |
| 16514 | mTangentAverage = 1; |
| 16515 | } |
| 16516 | |
| 16517 | /*! |
| 16518 | Draws the bracket shape with \a painter. The parameter \a direction is either -1 or 1 and |
nothing calls this directly
no outgoing calls
no test coverage detected