Drawing lines on a tchart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
jonsberndt
Newbie
Newbie
Posts: 19
Joined: Wed May 02, 2007 12:00 am

Drawing lines on a tchart

Post by jonsberndt » Fri Jul 24, 2009 8:10 pm

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

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

Re: Drawing lines on a tchart

Post by Narcís » Mon Jul 27, 2009 8:55 am

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!
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