ex.Message = "Parameter '' cannot be null.\r\nParameter name

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
kp_digi
Newbie
Newbie
Posts: 2
Joined: Mon Mar 10, 2014 12:00 am

ex.Message = "Parameter '' cannot be null.\r\nParameter name

Post by kp_digi » Tue Dec 23, 2014 2:33 pm

Hello,

I get this message:
ex.Message = "Parameter '' cannot be null.\r\nParameter name: serializationStream"

When the following code executes:

Code: Select all

Steema.TeeChart.Themes.ClassicTheme chartTheme2 = new Steema.TeeChart.Themes.ClassicTheme();  
            try
            {
                chartTheme2.Apply(c.Chart);
           }
            catch(Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
This only happens when I'm using the .Net 4.0 Client library, TeeChart.Client.dll
Is there a fix for this issue?
If not what would be another way that I could apply some of the aspects of the theme to my chart? Particularly how can I set the chart background color?

Yeray
Site Admin
Site Admin
Posts: 9587
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: ex.Message = "Parameter '' cannot be null.\r\nParameter name

Post by Yeray » Wed Dec 24, 2014 10:39 am

Hello,

Note there's no constructor override accepting no parameters.

However, I haven't been able to load the Classic Theme either when using the Client Profile, so I've added it to the public tracker to be further investigated.
http://bugs.teechart.net/show_bug.cgi?id=1061
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply