Page 1 of 1

Drawing lines on a tchart

Posted: Fri Jul 24, 2009 8:10 pm
by 9644963
I'd like to draw lines on a tchart, but using the coordinates for the tchart - not pixel coordinates.

Is there an example that shows how to do this?

Thanks,

Jon

Re: Drawing lines on a tchart

Posted: Mon Jul 27, 2009 8:55 am
by narcis
Hi Jon,

Yes, you need to use CalcXPosValue and CalcYPosValue axis and series methods to convert from chart values to screen coordinates as shown in the example here.

Hope this helps!