Adding Text to a vtkchartXY

Hello everyone, I am brand new to using VTK and I am interested in it’s 2D plotting capabilities.

I am running the scatterplot example:

Everything works great and it is snappy, but I was wondering if there was a way to add text to the XYChart? I see that labels can be added to the plot, but they can only be seen when hovering over a point or line.

I have seen methods online for adding text using a 2D Actor, but the coordinates are set according to the viewport. Is there any way to add text to an XYChart that is tied to the coordinates of the plot?

In my use case I would need a label at the first point of every plot that shows the name.

Thank you in advance for the help!

i have the same issue,still figuring out how to implement this ,any idea?