QCustomPlot Discussion and Comments

Anchoring tags to axesReturn to overview

Is it possible to anchor tags (let's say QCPItemText) to a specific axis?

Mockup explains the idea better:
https://i.imgur.com/o5PpAQs.png

You can relatively easily get the y-position for example by attaching QCPItemTracer to the last added value and then using it as an anchor, but how do you get the x-coordinate of the axis?

Even trying to calculate the y-offset from the axis rect border by a sum of padding widths doesn't seem to be possible, because the tick labels don't have fixed size.

A very similar question has already been asked here before:
http://www.qcustomplot.com/index.php/support/forum/886
But I find the response "then position the x value to the axis position and the y value to the coordinate you want" somewhat tricky to implement. Am I missing something?

Thanks for any hints.

I have no solution but I would like to upvote this thread because I have exactly the same question. How to anchor something to an specific axis?