! Sets the rotation of the tick labels. If \a degrees is zero, the labels are drawn normally. Else, the tick labels are drawn rotated by \a degrees clockwise. The specified angle is bound to values from -90 to 90 degrees. If \a degrees is exactly -90, 0 or 90, the tick labels are centered on the tick coordinate. For other angles, the label is drawn with an offset such that it seems to
| 7960 | the tick mark. |
| 7961 | */ |
| 7962 | void QCPAxis::setTickLabelRotation(double degrees) |
| 7963 | { |
| 7964 | if (!qFuzzyIsNull(degrees-mAxisPainter->tickLabelRotation)) |
| 7965 | { |
| 7966 | mAxisPainter->tickLabelRotation = qBound(-90.0, degrees, 90.0); |
| 7967 | mCachedMarginValid = false; |
| 7968 | } |
| 7969 | } |
| 7970 | |
| 7971 | /*! |
| 7972 | Sets whether the tick labels (numbers) shall appear inside or outside the axis rect. |
nothing calls this directly
no outgoing calls
no test coverage detected