Hi,
I just want to know how to change the Graphic backgorund color.
From the image, As an example, i want to change the white area to blue light.
I found out there is Theme option to play around, But i want to make custom theme.
Thanks in advance
Graph Background color
-
- Newbie
- Posts: 16
- Joined: Wed May 18, 2005 4:00 am
- Location: Sydney, Australia
- Contact:
Re: Graph Background color
Hi Matt,
The properties you have to look at are the panel color and gradient, and the back wall color and gradient. The transparency can also affect this look.
By default, from TeeChart v2010, the back wall has the gradient active. So you can deactive it like this:
In your case it seems you already have the the back wall gradient deactivated, and colored in white. Then you probably just have to change the back wall color:
The properties you have to look at are the panel color and gradient, and the back wall color and gradient. The transparency can also affect this look.
By default, from TeeChart v2010, the back wall has the gradient active. So you can deactive it like this:
Code: Select all
Chart1.Walls.Back.Gradient.Visible:=false;
Code: Select all
Chart1.Walls.Back.Color:=clBlue;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 16
- Joined: Wed May 18, 2005 4:00 am
- Location: Sydney, Australia
- Contact:
Re: Graph Background color
Hi Yeray,Yeray wrote:Hi Matt,
The properties you have to look at are the panel color and gradient, and the back wall color and gradient. The transparency can also affect this look.
By default, from TeeChart v2010, the back wall has the gradient active. So you can deactive it like this:In your case it seems you already have the the back wall gradient deactivated, and colored in white. Then you probably just have to change the back wall color:Code: Select all
Chart1.Walls.Back.Gradient.Visible:=false;
Code: Select all
Chart1.Walls.Back.Color:=clBlue;
Thanks for the response.
I tried to turn off gradient and set the background color, unfortunatily it didn't change. I uploaded a sample program for changing the background color. Could you have a look at it and see what's wrong?
Thanks in advance.
- Attachments
-
- Scrollbar.zip
- Changinge background color
- (29.24 KiB) Downloaded 471 times
Re: Graph Background color
Hello Matt Venkat,
You need change the property Transparent of back wall to false as do in next line of code to solve your problem:
Can you tell us if previous line of code solve your problem?
I hope will helps.
Thanks,
You need change the property Transparent of back wall to false as do in next line of code to solve your problem:
Code: Select all
Chart1.Walls.Back.Transparent:=false;
I hope will helps.
Thanks,
Best Regards,
Sandra Pazos / 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 |
-
- Newbie
- Posts: 16
- Joined: Wed May 18, 2005 4:00 am
- Location: Sydney, Australia
- Contact:
Re: Graph Background color
Hi Sandra,Sandra wrote:Hello Matt Venkat,
You need change the property Transparent of back wall to false as do in next line of code to solve your problem:Code: Select all
Chart1.Walls.Back.Transparent:=false;
Thanks for your sweet line of code. It works like a charm. The problem i had is the transparency issue. I didn't turn off the transparent. I was working around with gardient and didn't get it right. But now, it is all fine.
It didn't work for my situation. I had to turn off the transparent to make it work.Sandra wrote: Can you tell us if previous line of code solve your problem?
I hope will helps.
Thanks,
It is very helpful and thanks for the support.