Page 1 of 1

Changing Backcolor only between axis ?

Posted: Wed Jan 19, 2005 4:09 pm
by 8576839
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.

Posted: Thu Jan 20, 2005 12:38 pm
by narcis
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.