QCustomPlot Discussion and Comments

How to place QCPitemText outside the plot?Return to overview

Hello all,
When I create the itemText, it is created inside the plot.
Is there a way to create it outside of the plot?
Thank you!

You may want to disable the clip inside the axis rect in QCustomPlot to display the itemText outside the plot. This can be done by setting the setClipToAxisRect(false) property on the itemText. This will allow the itemText to be drawn outside of the axis rect and will be visible on the QCustomPlot.

Thank you, I solved it!