QCustomPlot Discussion and Comments

How to draw rectangle outside QCustomPlot (below x axis label)Return to overview

HI,

How to draw rectangle outside QCustomPlot (below x axis label) using QCPItemRect ?

Br,
Biplab Kundu

if you set your coordinates in QCPItemPosition to viewportratio you can draw there.

And disable clipping, as explained in the end of the website "items" tutorial.