Page 1 of 1

Setting titles:footer caption property at runtime

Posted: Sun Feb 27, 2005 9:29 pm
by 9235705
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

Posted: Mon Feb 28, 2005 10:57 am
by narcis
Hello,

Here it works fine using the latest TeeChart version (7.04) available at our customer download area. Which version are you using?

Setting titles:footer caption property at runtime

Posted: Mon Feb 28, 2005 4:07 pm
by 9235705
I'm using v7.04.

Setting titles:footer caption property at runtime

Posted: Mon Feb 28, 2005 8:31 pm
by 9235705
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.

Posted: Tue Mar 01, 2005 12:18 pm
by Pep
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');