Page 1 of 1

BlurSize Issue

Posted: Thu Feb 03, 2011 2:49 am
by 15656232
Hello,

I just recently upgraded my system to Tchart.NET 4.1.2010.11302, and converted all of the references and licensing in the project. When I compile the project I now get the following error multiple times related to all ".shadow." settings:

.TeeChart.Drawing.Shadow' does not contain a definition for 'BlurSize' and no extension method 'BlurSize' accepting a first argument of type 'Steema.TeeChart.Drawing.Shadow' could be found (are you missing a using directive or an assembly reference?)

I go into the designer code and manually delete all of these lines and the program compiles and runs fine. However, these lines re-appear in the designer code.

Thanks,
Mark

Re: BlurSize Issue

Posted: Thu Feb 03, 2011 10:57 am
by narcis
Hi Mark,

Is it a WPF or Silverlight project? If it's a WinForms project I don't see why you should get this error. Using the chart editor I see it generates SmootBlur property for me here though:

Code: Select all

        this.tChart1.Panel.Shadow.SmoothBlur = 40;
It may be that your project is still referencing an old TeeChart assembly? You could try reseting TeeChart AssemblyFolders entry as I explained here, remove TeeChart.dll reference, close Visual Studio, open it and reassign TeeChart.dll reference again.

If problems persists could you please attach a simple example project we can run "as-is" to or let us know the exact steps to reproduce the problem here?

Thanks in advance.