Displaying cursor in TeeChart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
myghetto
Newbie
Newbie
Posts: 27
Joined: Thu Oct 05, 2006 12:00 am

Displaying cursor in TeeChart

Post by myghetto » Mon Nov 27, 2006 12:32 pm

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.

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

Post by Narcís » Mon Nov 27, 2006 2:06 pm

Hi myghetto,

Have you tried using MarksTip tool? You'll find examples on how to use at All Features\Welcome!\Tools\Mark tips.
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

myghetto
Newbie
Newbie
Posts: 27
Joined: Thu Oct 05, 2006 12:00 am

Post by myghetto » Sun Dec 03, 2006 12:12 pm

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.

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

Post by Narcís » Mon Dec 04, 2006 9:12 am

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

myghetto
Newbie
Newbie
Posts: 27
Joined: Thu Oct 05, 2006 12:00 am

Post by myghetto » Mon Dec 04, 2006 12:35 pm

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.

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

Post by Narcís » Mon Dec 04, 2006 3:02 pm

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