WPF Teechart - Chart Panel Gradient Color

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Priya Hatipkar
Newbie
Newbie
Posts: 46
Joined: Wed Jan 28, 2009 12:00 am

WPF Teechart - Chart Panel Gradient Color

Post by Priya Hatipkar » Thu Feb 26, 2009 5:29 am

WPF Teechart - Chart Panel Gradient Color
The StartColor and EndColor positions are interchanged.

Regards,
Priya

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Feb 27, 2009 1:01 pm

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?

Code: Select all

      tChart1.Panel.Gradient.StartColor = System.Windows.Media.Colors.Red;
      tChart1.Panel.Gradient.EndColor = System.Windows.Media.Colors.Blue;
Also notice that you may change gradient directions using its Direction property.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Priya Hatipkar
Newbie
Newbie
Posts: 46
Joined: Wed Jan 28, 2009 12:00 am

Post by Priya Hatipkar » Fri Mar 06, 2009 10:51 am

To reproduce issue, Please check sample 'Sample1ForTeechartIssue.zip' uploaded at Steema upload site.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Post by Sandra » Fri Mar 06, 2009 12:39 pm

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply