Page 1 of 1

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

Posted: Tue Dec 23, 2014 2:33 pm
by 15668739
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?

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

Posted: Wed Dec 24, 2014 10:39 am
by yeray
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