QCustomPlot Discussion and Comments

Align ylabelsReturn to overview


I'm onto the finishing tweaks for my plot output. I have 4 nicely presented plots in a vertically stacked subplot using a margin group. I now want to align the ylabels horizontally. As far as i can tell there isn't a straight forward way to do this with the functions available. All info relating to max ticklabel sizes etc is private. My simple method would be to find the position of the left most label and adjust labelPadding for the others to bring them in line. Can anyone suggest the best approach?



What about using the QCPMarginGroup class? Have a look at the advanced axes demo example :


It may be the way to go, assuming I understood correctly your request.