Page 1 of 1

Displaying cursor in TeeChart

Posted: Mon Nov 27, 2006 12:32 pm
by 9347662
I am currently using Borland Delphi 2005 and I do not know how to display the cursor crosshair in the TeeChart. Normally by default it will just show a crosshair when I run it along a line but I want to display it so that I can run it across a line series where it will tell me the x-axis value and y-axis value. The values or text can be displayed on panel or on the TeeChart itself. Please help. Thank you.

Posted: Mon Nov 27, 2006 2:06 pm
by narcis
Hi myghetto,

Have you tried using MarksTip tool? You'll find examples on how to use at All Features\Welcome!\Tools\Mark tips.

Posted: Sun Dec 03, 2006 12:12 pm
by 9347662
Hi Narcis, I have purchased the software with source code but I can't get it working when I merge it with my code. Sorry I am actually quite new to both Delphi and TeeChart and am stuck completely. I looked at the cursor synchronization example as well. Both the markstip tool and that synchronization display are what I am trying to achieve but the source code doesn't seem to work at all even when I created the exact same components and copied the entire code. Please help.

Posted: Mon Dec 04, 2006 9:12 am
by narcis
Hi myghetto,

Could you please send us a simple example we can run "as-is" to reproduce the problem here?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup.

Thanks in advance.

Posted: Mon Dec 04, 2006 12:35 pm
by 9347662
Hi Narcis, it keeps saying the some of the Uses declaration such as Base is invalid. I have deleted the file I created but what I was mainly after is whether you can give me a simpler code rather than that markstip tool or the cursor synchronization so that I can understand it from there in terms of using TPanel and TLabel to display the values or any other ways. Thank you.

Posted: Mon Dec 04, 2006 3:02 pm
by narcis
Hi myghetto,

Base unit in the uses section is the base class used as a template for all the demos. You shouldn't call this class in your project. Anyway you can see how the demo project works as full sources are included in the examples folder.