! The axis ticker is responsible for generating the tick positions and tick labels. See the documentation of QCPAxisTicker for details on how to work with axis tickers. You can change the tick positioning/labeling behaviour of this axis by setting a different QCPAxisTicker subclass using this method. If you only wish to modify the currently installed axis ticker, access it via \ref ti
| 8569 | \see ticker |
| 8570 | */ |
| 8571 | void QCPAxis::setTicker(QSharedPointer<QCPAxisTicker> ticker) |
| 8572 | { |
| 8573 | if (ticker) |
| 8574 | mTicker = ticker; |
| 8575 | else |
| 8576 | qDebug() << Q_FUNC_INFO << "can not set nullptr as axis ticker"; |
| 8577 | // no need to invalidate margin cache here because produced tick labels are checked for changes in setupTickVector |
| 8578 | } |
| 8579 | |
| 8580 | /*! |
| 8581 | Sets whether tick marks are displayed. |
no outgoing calls
no test coverage detected