how to draw a vertical line in the middle of the chart

TeeChart for ActiveX, COM and ASP
Post Reply
daryl
Newbie
Newbie
Posts: 91
Joined: Thu Sep 09, 2004 4:00 am
Location: UK
Contact:

how to draw a vertical line in the middle of the chart

Post by daryl » Tue Aug 07, 2007 11:07 am

i would like to draw a line in the middle of the chart as i split the bottom axis in to 2 ..

how to find start x,start y ,end x ,end y in order to use the drawline in tools ..

could u pls reply asap

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

Post by Narcís » Tue Aug 07, 2007 11:46 am

Hi daryl,

Why don't you try using a ColorLine tool. Here you just need to specify to which axis you want to associate the tool and give the value where the line should be plotted. This value can be calculated from axis minimum and maximum values.
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

daryl
Newbie
Newbie
Posts: 91
Joined: Thu Sep 09, 2004 4:00 am
Location: UK
Contact:

Post by daryl » Tue Aug 07, 2007 11:57 am

can u send me a sample of code to create

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

Post by Narcís » Tue Aug 07, 2007 12:00 pm

Hi daryl,

You'll find some examples at All Features\Welcome!\Tools\Color Line. You can also find an example here.
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

daryl
Newbie
Newbie
Posts: 91
Joined: Thu Sep 09, 2004 4:00 am
Location: UK
Contact:

thx for the infor

Post by daryl » Tue Aug 07, 2007 12:28 pm

i have done implementation in my app
thx

Post Reply