Page 1 of 1

Custom position of Annotation tool

Posted: Fri Feb 22, 2013 1:53 pm
by 9526439
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

Re: Custom position of Annotation tool

Posted: Mon Feb 25, 2013 12:02 pm
by narcis
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.