'Annotation' Problem

TeeChart for ActiveX, COM and ASP
Post Reply
Rossmc
Newbie
Newbie
Posts: 23
Joined: Thu Mar 30, 2006 12:00 am

'Annotation' Problem

Post by Rossmc » Mon Nov 13, 2006 10:23 am

I think there must be a correct way to do what I need. I have a financial chart that generally has more points plotted than visible to user, who can scroll the chart left/right as needed.

I want user to be able to add 'annotations' to their chart where ever they click on the chart face.

If I use annotation tool annotations are drawn relative to the actual x, y co-ordinates and do not scroll with rest of chart unless I write alot of code to do it manually.

Isn't there an easier way to enable this?

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Nov 22, 2006 11:46 pm

Hi,
I'm afraid that the only way to accomplish it is by setting the shape left and top postitions relative to tchart axis. A good event to use it to do that is the OnBeforeDrawSeries event.

Post Reply