How to get a number from XValue in ColorLineTool

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
John
Newbie
Newbie
Posts: 26
Joined: Fri Aug 11, 2006 12:00 am

How to get a number from XValue in ColorLineTool

Post by John » Tue Jan 29, 2008 11:24 pm

Hi,

We use delete points to show scrolling lines but we have a troule to find the ColorLineTool's XValue that we have added earlier to delete. How could we find the actual postion of ColorLineTool through XValue?

Thanks and Regards,
John

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

Post by Narcís » Wed Jan 30, 2008 9:38 am

Hi John,

I'm not sure about which is your exact request but have you tried using ChartTool1.Value property? If this doesn't help could you please give us some more details of the problem? A simple example project we can run "as-is" to reproduce the issue here would be very helpful as well.

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.
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

John
Newbie
Newbie
Posts: 26
Joined: Fri Aug 11, 2006 12:00 am

Post by John » Wed Jan 30, 2008 4:22 pm

Hi Narcís,

I haven't tried using ChartTool1.Value because I add ColorLineTool tools at the run time. Suppose if I add several ColorLine Tools into the chart, and use Series1->Delete(0) to scroll the line. The question is how I can get a XValue from each of ColorLineTool so I am able to delete it when the Series1 or line scrolls to ColorLineTool's x-value or the xvalue of the Series1 equals to the ColorLineTool's XValue.

Thanks,
John

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

Post by Narcís » Thu Jan 31, 2008 8:47 am

Hi John,

Could you please send us a simple example project of what you describe? We'll try to help you implement the functionality you request.

Thanks in advance.
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