Changing Backcolor only between axis ?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Verane
Newbie
Newbie
Posts: 23
Joined: Thu Jan 09, 2003 5:00 am

Changing Backcolor only between axis ?

Post by Verane » Wed Jan 19, 2005 4:09 pm

Hi,
I would like to change the background color of my chart but only the part that is inside the axis.
Changing 'BackColor' changes the color of all the panel.
How can I only change the part between axis ?

I used to do that for the vcl chart for Delphi7 using Backwall color, but I cannot find this property any more.

Thanks,
Verane.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jan 20, 2005 12:38 pm

Hi Verane,

You have to change the back wall properties using the editor or run-time using the following code:

Code: Select all

this.tChart1.Walls.Back.Color=Color.Green;
this.tChart1.Walls.Back.Transparent=false;
It's important setting transparent property to false because it's default value it's true.
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