How to Add Text to a Graphic on a Chart Sub Window?

 

I have a chart sub window that draws a curve using the CurveAdd function of the CGraphic class in the Graphics Library. I would like to add some text to this curve, such as a label in the top left of the window. I have tried using AddLabelObject but nothing displays. How can I do this?

Thank you.