I started using QCustomPlot, which has a nice graph plotting API. I create a custom plot and add it to a layout. Because I dont need the x-axis, I hide it with
I would like to use the whole vertical space for the graph but even with
customPlot->setContentsMargins(0,0,0,0); there is a border of aprox. 15px on top and bottom of the plot.
My question is how to draw the graph without margins.