Page 1 of 1
WPF Teechart - Chart Panel Gradient Color
Posted: Thu Feb 26, 2009 5:29 am
by 13051589
WPF Teechart - Chart Panel Gradient Color
The StartColor and EndColor positions are interchanged.
Regards,
Priya
Posted: Fri Feb 27, 2009 1:01 pm
by narcis
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.
Posted: Fri Mar 06, 2009 10:51 am
by 13051589
To reproduce issue, Please check sample 'Sample1ForTeechartIssue.zip' uploaded at Steema upload site.
Posted: Fri Mar 06, 2009 12:39 pm
by 10050769
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,