WPF Teechart - Chart Panel Gradient Color
The StartColor and EndColor positions are interchanged.
Regards,
Priya
WPF Teechart - Chart Panel Gradient Color
-
- Newbie
- Posts: 46
- Joined: Wed Jan 28, 2009 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Priya,
Using code below works fine for me here using latest TeeChart for .NET v3 release. Color red is drawn in top and color blue is drawn on bottom. Same happens in a WinForms application. Is that the behaviour you get?
Also notice that you may change gradient directions using its Direction property.
Using code below works fine for me here using latest TeeChart for .NET v3 release. Color red is drawn in top and color blue is drawn on bottom. Same happens in a WinForms application. Is that the behaviour you get?
Code: Select all
tChart1.Panel.Gradient.StartColor = System.Windows.Media.Colors.Red;
tChart1.Panel.Gradient.EndColor = System.Windows.Media.Colors.Blue;
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: 46
- Joined: Wed Jan 28, 2009 12:00 am
Hello Priya,
I could reproduce your problem and I have added to the list of Bug Report with number [TW16013938] we will try to fix it for next versions of TeeChart .NET for WPF.
Thanks,
I could reproduce your problem and I have added to the list of Bug Report with number [TW16013938] we will try to fix it for next versions of TeeChart .NET for WPF.
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 |