QCustomPlot Discussion and Comments

Removing margins?Return to overview

Good day to you! I'm new to the qcustomplot, and i wasn't able to find answer for my question. I'm trying to fully remove margins from my custom plot, but i can't do that for some reason. I've tryed to create new AxisRect, but that didn't helped. Functions like setTickLabels(false) didn't work. Can anyone help me? Thank you

maybe

axisRect->setAutoMargins(QCP::msNone);

Thank you! That worked!