! Sets the precision of the tick label numbers. See QLocale::toString(double i, char f, int prec) for details. The effect of precisions are most notably for number Formats starting with 'e', see \ref setNumberFormat */
| 8768 | \ref setNumberFormat |
| 8769 | */ |
| 8770 | void QCPAxis::setNumberPrecision(int precision) |
| 8771 | { |
| 8772 | if (mNumberPrecision != precision) |
| 8773 | { |
| 8774 | mNumberPrecision = precision; |
| 8775 | mCachedMarginValid = false; |
| 8776 | } |
| 8777 | } |
| 8778 | |
| 8779 | /*! |
| 8780 | Sets the length of the ticks in pixels. \a inside is the length the ticks will reach inside the |