Page 1 of 1

How to get a number from XValue in ColorLineTool

Posted: Tue Jan 29, 2008 11:24 pm
by 9242178
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

Posted: Wed Jan 30, 2008 9:38 am
by narcis
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.

Posted: Wed Jan 30, 2008 4:22 pm
by 9242178
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

Posted: Thu Jan 31, 2008 8:47 am
by narcis
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.