Custom position of Annotation tool

TeeChart for ActiveX, COM and ASP
Post Reply
amol
Advanced
Posts: 231
Joined: Tue Mar 29, 2005 5:00 am

Custom position of Annotation tool

Post by amol » Fri Feb 22, 2013 1:53 pm

Hi,

i am using annotation tool for some text display on my chart, but i am facing an issue that i have to give position of tool.
i have point coordinate i.e(x,y) where the tool rectangle starts and ends, but i am not able to convert this point coordinate
to its left,top etc.please suggest any idea.

Regards,
Amol

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Custom position of Annotation tool

Post by Narcís » Mon Feb 25, 2013 12:02 pm

Hi Amol,

You need to calculate them using TChart1.Axis.Bottom.CalcXPosValue and TChart1.Axis.Left.CalcYPosValue. Here's an example using custom positioning with annotation tool.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply