Page 1 of 1

Coloring the header and footer

Posted: Thu Jan 13, 2005 11:45 am
by 9080952
Hi,

I tried to customize the color of the header and footer, but no result.

For some reason the color for the header is always *blue* and the footer always *red*.

But if I check the actual color by *tChart1.Header.Color.Name*, it shows up with *silver*. Same for the footer, also *silver*.

Of course I tried to overrule the defaut by code

tChart1.Header.Color = Color.Black;

and

tChart1.Footer.Color = Color.Black;

but as I told you, no result, Still blue header and red footer..

Strange ..

Thanks in advance.

Regards,
Antoon Koster
WL|Delft Hydraulics
Delft
Netherlands

Posted: Thu Jan 13, 2005 12:50 pm
by narcis
Hi Antoon,

That's because you should set the header or footer transparent property to false either using the chart editor or programmaticaly.

Code: Select all

tChart1.Header.Transparent=false;
tChart1.Footer.Transparent=false;