Background of the Chart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
ipasuser
Newbie
Newbie
Posts: 9
Joined: Wed Nov 14, 2007 12:00 am

Background of the Chart

Post by ipasuser » Mon Dec 10, 2007 10:59 am

Hi TeeChart Team,

how can we change the background of the chart from now standard grey to white?

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 10, 2007 11:11 am

Hi ipasuser,

Try this:

Code: Select all

			tChart1.Panel.Gradient.Visible = false;
			tChart1.Walls.Back.Transparent = true;
			tChart1.BackColor = Color.White;
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

ipasuser
Newbie
Newbie
Posts: 9
Joined: Wed Nov 14, 2007 12:00 am

Post by ipasuser » Mon Dec 10, 2007 12:15 pm

unfortunately , the property BackColor

Code: Select all

tChart1.BackColor = Color.White;
does not exist.

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 10, 2007 2:15 pm

Hi ipasuser,

This exist in TeeChart for .NET v2 and v3. You can try tChart1.Panel.Color instead. If the problem persists please let us know the exact TeeChart version you are using.

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

Post Reply