Hi,
I am unable to change the panel color using the following code:
tChart1.Panel.Color = Color.Red;
The above code is working fine in TeeChart v2005, but fail to work in TeeChart v2010.
Please help.
Thanks.
Unable to change the panel color
Re: Unable to change the panel color
Hi mcpang,
I'm not sure what do you mean with TeeChart v2005.
Anyway, in TeeChart v2010 there is the panel's gradient activated by default. Try deactivating it:
I'm not sure what do you mean with TeeChart v2005.
Anyway, in TeeChart v2010 there is the panel's gradient activated by default. Try deactivating it:
Code: Select all
tChart1.Panel.Gradient.Visible = false;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Unable to change the panel color
I have tried setting the panel's gradient to false. But it didn't help.
I have also tried the following code, but it still don't work.
tChart1.Panel.Brush.Color = Color.Red
Sorry, actually TeeChart2005 refers to TeeChartv2 for VS NET 2005.
I have also tried the following code, but it still don't work.
tChart1.Panel.Brush.Color = Color.Red
Sorry, actually TeeChart2005 refers to TeeChartv2 for VS NET 2005.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Unable to change the panel color
Hi mcpang,
Code below sets chart panel color to red using latest v2010 release. Can you please check if this works fine at your end and attach a simple example project we can run "as-is" to reproduce the problem if it still persists?
Thanks in advance.
Code below sets chart panel color to red using latest v2010 release. Can you please check if this works fine at your end and attach a simple example project we can run "as-is" to reproduce the problem if it still persists?
Code: Select all
tChart1.Clear();
tChart1.Panel.Color = Color.Red;
tChart1.Panel.Gradient.Visible = 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 |
Re: Unable to change the panel color
Thanks for the reply.
Manage to get it works by doing the code provided by you.
Manage to get it works by doing the code provided by you.