Exception when changing Theme
Posted: 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.
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.