Setting titles:footer caption property at runtime

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
bcmiller
Newbie
Newbie
Posts: 30
Joined: Mon Jan 24, 2005 5:00 am

Setting titles:footer caption property at runtime

Post by bcmiller » Sun Feb 27, 2005 9:29 pm

Could someone set me straight about how do a runtime reset of the text value assigned at designtime in the Chart:Titles:Footer:Style text box.

Using dbChart1.Foot.Caption := 'xxx' creates a second footer in addition to the one assigned at designtime.

Thanks

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 Feb 28, 2005 10:57 am

Hello,

Here it works fine using the latest TeeChart version (7.04) available at our customer download area. Which version are you using?
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

bcmiller
Newbie
Newbie
Posts: 30
Joined: Mon Jan 24, 2005 5:00 am

Setting titles:footer caption property at runtime

Post by bcmiller » Mon Feb 28, 2005 4:07 pm

I'm using v7.04.

bcmiller
Newbie
Newbie
Posts: 30
Joined: Mon Jan 24, 2005 5:00 am

Setting titles:footer caption property at runtime

Post by bcmiller » Mon Feb 28, 2005 8:31 pm

It's very strange. Designtime settings in DBChart:Titles:Footer show in the SubFoot section when I view the form as text, and vice versa.

Ok, I can work with that.

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

Post by Pep » Tue Mar 01, 2005 12:18 pm

Hi,

to clear the title and footer text of the Chart you must use :
Chart1.Title.Text.Clear;
Chart1.Foot.Text.Clear;

and to asign a text you can use :
Chart1.Title.Text.Add('title');
Chart1.Foot.Text.Add('foot');

Post Reply