Problem with gradient background after upg to 4.1.2014.12150

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
oz8lu
Newbie
Newbie
Posts: 2
Joined: Thu Dec 11, 2014 12:00 am

Problem with gradient background after upg to 4.1.2014.12150

Post by oz8lu » Thu Feb 12, 2015 7:28 am

Hey

I have a problem with the gradient background of a chart after I have upgraded from 4.1.2014.08120 to 4.1.2014.12150 - it looks like the background ain't repainted correctly when the chart is resized, both when resized as a result of an "external" event and when resized by adding data (the graph area will resize to make room for the added labels etc.).

The problem can best be described by the following images (see the red top in one of the images) - in addition to the displaced gradient in the images the problem can also be observed when the charts are enlarged - when enlarged the gradient pattern will just be repeated and not resized to match the chart.


How it looks in 12150
Image


And how it should look and do look in 08120 - when using 12150 the chart also looks like this until resized.
Image


- please ignore my "alternative" color choice it's only to clarify the problem :D

I have attached the source used to generate the images.

I have testet the following:
  • ATI vs nVidia GPUs
  • 32 bit vs 64 bit
  • .NET 4.0 vs .NET 4.5.1
  • All Gradient.WrapModes
/Claus
Attachments
WindowsFormsApplication11.zip
(10.28 KiB) Downloaded 500 times

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Problem with gradient background after upg to 4.1.2014.12150

Post by Christopher » Thu Feb 12, 2015 9:29 am

Hello,

Yes, unfortunately this is a regression that has already been fixed for the next maintenance release. Fortunately it has an easy, one line workaround, which is:

Code: Select all

Utils.UseCaches = false;
Best Regards,
Christopher Ireland / 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

oz8lu
Newbie
Newbie
Posts: 2
Joined: Thu Dec 11, 2014 12:00 am

Re: Problem with gradient background after upg to 4.1.2014.12150

Post by oz8lu » Mon Feb 16, 2015 6:44 am

Thanks! - it works correctly without the cache

/Claus

Post Reply