Symbols...

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
bingo72
Newbie
Newbie
Posts: 42
Joined: Sun Aug 10, 2003 4:00 am
Location: Austria

Symbols...

Post by bingo72 » Wed Nov 29, 2006 8:02 am

Hello Experts!!

I'm looking for a way how I can show 'Trackmarks' on the timeline (maybe X-Axis)...this Trackmarks are Timemarks which contain the time of the mark. So on build up the chart I want tell the chart that (for e.g. on second 3.6 or 7.2) it have to paint this marks on the X-axis. After that the user can click at the little symbol and the application should do something at this time....

Any ideas??

Bye
Thomas

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 Nov 29, 2006 8:56 am

Hi Thomas,

If those marks need to have the click feature you could try using an annotation tool for each mark you wish to draw.
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

bingo72
Newbie
Newbie
Posts: 42
Joined: Sun Aug 10, 2003 4:00 am
Location: Austria

Post by bingo72 » Tue Dec 19, 2006 10:16 am

Hello!!

Can I set a fix size (width, height) of a annotation tool mark??

Bye
Thomas

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 Dec 19, 2006 10:39 am

Hi Thomas,

Yes, you can do this:

Code: Select all

  ChartTool1.Width:=100;
  ChartTool1.Height:=20;
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

bingo72
Newbie
Newbie
Posts: 42
Joined: Sun Aug 10, 2003 4:00 am
Location: Austria

Post by bingo72 » Tue Dec 19, 2006 10:47 am

Hello Narcis,

I don't have Width or Height for ChartTools...I'm using TeeChart v6.01...

Bye
Thomas

Pep
Site Admin
Site Admin
Posts: 3278
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Sat Dec 23, 2006 2:45 pm

Hi,

this feature (size for TAnnotation tool) was introduced in the TeeChart Pro v7.
In that case the only way I can think of (using v6) would be to generate your custom annotation using the Canvas techniques :
Chart1.Canvas.Rectangle(.....);
Chart1.Cancas.TextOut(....);

Post Reply