Exception when changing Theme

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
numtech
Newbie
Newbie
Posts: 1
Joined: Fri Sep 27, 2019 12:00 am

Exception when changing Theme

Post by numtech » Thu Oct 31, 2019 7:48 am

I am trying to use your newest TeeChart.WinForm.dll.
There is a problem when setting the Theme from source code or from the GUI Chart Option

System.ArgumentNullException: Value cannot be null. (Parameter 'serializationStream')
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, Boolean check)
at Steema.TeeChart.Import.TemplateImport.Load(Stream stream)
at Steema.TeeChart.Themes.Theme.ApplyFromResource(Chart Dest, String ResourceName)
at Steema.TeeChart.Themes.OperaTheme.Apply()
at Steema.TeeChart.Chart.(ThemeType )
at Steema.TeeChart.TChart.set_CurrentTheme(ThemeType value)

The same source code is working for the older TeeChart version.

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

Re: Exception when changing Theme

Post by Christopher » Thu Oct 31, 2019 12:18 pm

Thank you for reporting this to us. I have added it to our issue-tracking software with id=2260 - as you can see, this issue has already been fixed, and this fix will become available shortly in an upcoming NuGet release.
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

Post Reply