! Sets the text of the axis label that will be shown below/above or next to the axis, depending on its orientation. To disable axis labels, pass an empty string as \a str. */
| 8943 | its orientation. To disable axis labels, pass an empty string as \a str. |
| 8944 | */ |
| 8945 | void QCPAxis::setLabel(const QString &str) |
| 8946 | { |
| 8947 | if (mLabel != str) |
| 8948 | { |
| 8949 | mLabel = str; |
| 8950 | mCachedMarginValid = false; |
| 8951 | } |
| 8952 | } |
| 8953 | |
| 8954 | /*! |
| 8955 | Sets the distance between the tick labels and the axis label. |
no test coverage detected