QCustomPlot Discussion and Comments

How to fix width/length of axis number/tick labels?Return to overview

How to fix width/length of axis number/tick labels?

Hello,

I think the best you can do is change the font size of your axis tick labels (setTickLabelFont (const QFont &font) from QCPAxis). If you want to go even further, but i'm not sure you can do more, you can implement a QCPAxisTicker subclass and set your own class as axis ticker for your axis ( setTicker (QSharedPointer< QCPAxisTicker > ticker)).