Chart Background Color
-
- Newbie
- Posts: 11
- Joined: Tue Nov 02, 2010 12:00 am
Chart Background Color
I need for the background color of the actual chart area to be white. Setting tchart1.BackColor = Color.White sets the background color of the panel to white but the background of the chart interior remains an off-white. How can I get the interior of the chart to be white?
Re: Chart Background Color
Hello tcorrigan5,
I think you need disable Gradient of tChart panel.Please add next lines in your code, and check again if in your project all background change of color.
I hope will helps.
Thanks,
I think you need disable Gradient of tChart panel.Please add next lines in your code, and check again if in your project all background change of color.
Code: Select all
tChart1.Panel.Gradient.Visible = false;
tChart1.BackColor = Color.White;
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: 11
- Joined: Tue Nov 02, 2010 12:00 am
Re: Chart Background Color
No, that doesn't work. Attached is a sample of the current output.
- Attachments
-
- example.jpg (374 KiB) Viewed 5065 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Chart Background Color
Hi tcorrigan5,
You need to do the same with Walls.Back as you did with Panel:
Or alternatively set back wall to be transparent:
You need to do the same with Walls.Back as you did with Panel:
Code: Select all
tChart1.Walls.Back.Color = Color.White;
tChart1.Walls.Back.Gradient.Visible = false;
Code: Select all
tChart1.Panel.Color = Color.White;
tChart1.Panel.Gradient.Visible = false;
tChart1.Walls.Back.Transparent = 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 |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 11
- Joined: Tue Nov 02, 2010 12:00 am
Re: Chart Background Color
Yes, that works. Thank you.