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.
Changing Backcolor only between axis ?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Verane,
You have to change the back wall properties using the editor or run-time using the following code:
It's important setting transparent property to false because it's default value it's true.
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;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |