This is what my Y-Axis looks like
http://postimg.org/image/momjerqs9/
and this is the section for Y-Axis
ui.myplot->yAxis->setAutoTickStep(false);
ui.myplot->yAxis->setAutoSubTicks(false);
ui.myplot->yAxis->setRange(0,19.75);
ui.myplot->yAxis->setTickStep (0.05);
ui.myplot->yAxis->setSubTickCount(10);
It seems to me like QCustomPlot widget needs more space but I dont understand why this is so because I have QCP::iRangeDrag interaction set. If there was a need for more space I could have dragged the Qcustomplot widget. I wanted to know if there was a way for me to fix this without increasing the alloted space of the widget in my form ?