Page 1 of 1

Exception when changing Theme

Posted: Thu Oct 31, 2019 7:48 am
by 15687110
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.

Re: Exception when changing Theme

Posted: Thu Oct 31, 2019 12:18 pm
by Christopher
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.