QCustomPlot Discussion and Comments

Unable to change font size of x or y axis in qcustomplotReturn to overview

I needed 17 plot charts on one screen so I had to scale down the size quite a bit. When I scaled down the size, in creator design mode, the font size remained its original size now the updating time on the x axis is all written on top of each other. I need a way, in code or in the widget controls, to shrink the font size. Anyone with a way to accomplish this I would really appreciate a code snippet and brief explanation.

Thank you in advance
-emp1953

At
https://doc.qt.io/archives/3.3/simple-font-demo-example.html
I found helpful code snippet

QFont pfont("Newyork",6);
pfont.setStyleHint(QFont::SansSerif);
pfont.setPointSize(6);


plotwidget->xAxis->setTickLabelFont(pfont);

Works like a charm. do the same thing for ->yAxis.