QCustomPlot Discussion and Comments

How to fix width of axis area ?Return to overview

Hi ! How to fix width of axis area ? which means the width of axis line to plot border, as it changes with tick labels, even numberformat and precision has been set .

do you mean

plot->axisRect()->setAutoMargins(QCP::msNone);
plot->axisRect()->setMargins(QMargins(100, 100, 100 ,100));