QCustomPlot 边界设为0

m_pCustomPlot=new QCustomPlot;

m_pCustomPlot->axisRect()->insetLayout()->setMinimumMargins(QMargins(0, 0, 0, 0));

m_pCustomPlot->axisRect()->setMinimumMargins( QMargins(0, 0, 0, 0) );

你可能感兴趣的:(QCustomPlot 边界设为0)