QCustomPlot Discussion and Comments

aOverlpping tick labels on axisReturn to overview


When you change the size of the plot there is overlap text.

I found that something like this at

Yes, the tick count is not adapted with regard to the label size at the moment, only to fulfill the axis ticker algorithm for nicely spaced tick intervals. It might be an option to also take into account the text width after rendering at some point but there are no concrete plans. Until then you can use the QCPAxis::setAutoTickCount to reduce the tick count and avoid overlap (possibly dynamically depending on the width of the widget).

Is this possible in the new QCustomPlot 2.0.0?

Maybe I can overload the function of some class?