Strange look pie charts

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
biqpaulson
Newbie
Newbie
Posts: 93
Joined: Thu Apr 17, 2008 12:00 am

Strange look pie charts

Post by biqpaulson » Mon Sep 19, 2011 8:00 pm

Hi:

Please have a look at this pie chart. There appears to be a rendering issue. Using the z-depth tool has no effect. Using the rotation tool, I can make the ugliness disappear using the rotation tool, but I can also make reappear by continuing to play with the rotation.

I'm using version 4.1.2010.8042

Any ideas?

Thanks,

Matt
Attachments
BadPie.png
BadPie.png (32.8 KiB) Viewed 16204 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Strange look pie charts

Post by Sandra » Tue Sep 20, 2011 9:42 am

Hello biqpaulson,

I couldn't reproduce your problem using last version of TeeChart.Net. I recommend you update your version to last release of TeeChart.Net 2011. You can download the version in the custom download page. When you have the last version of TeeChart.Net, please check again if your problem persists. If you have any problems to update your version or your problem still appears in the last release, would be very helpful for us, if you can arrange a simple project, so we can reproduce exactly your problem here.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

biqpaulson
Newbie
Newbie
Posts: 93
Joined: Thu Apr 17, 2008 12:00 am

Re: Strange look pie charts

Post by biqpaulson » Tue Sep 20, 2011 1:25 pm

Hi Sandra:

I tried to upgrade. It did not go well. I downloaded the upgrade package and installed it. Then I downloaded the x64 registry fixer and ran that. Then I removed the old reference from the project and added a new reference for tchart.dll from the new installation directory. I then received a warning about .net 4.0 references that were missing. I answered "yes, continue". At this point, there were no items in the IDE toolbox and the project failed to build with 100's of errors referring to missing components and references. Now I'm confused and frustrated. I only thing I can think of that I didn't do, was to uninstall the older version first -- but since the new version installed into a different directory and was "side-by-side" with the older one, I didn't think I needed to.

Do you have any suggestions?

Thanks,

Matt

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Strange look pie charts

Post by Sandra » Wed Sep 21, 2011 11:33 am

Hello biqpaulson,

I couldn't reproduce your problem. Please following next steps to try installation to solving your problem:

1.- Execute installer TeeChartNET2011_4.1.2011.07280.exe
2.- When you have added password, choose which VS you use, to install the specific TeeChart.Net version you need.
3.- When installation finished, open the VS that you use and create a new project.
4.- In new project, go to ToolBox TeeChart tag, if it doesn't appear , create tag and choose the components that you have in similar directory as next:
C:\Program Files\Steema Software\Steema TeeChart for .NET 2011 4.1.2011.07280 VS2008\net35\x86\TeeChart.dll
Note: If you want work in design time, you need add TeeChart.dll to x86.
5.- Select Chart component and Add it in the Form.
For work with TeeChart.dll x64 you must do same to point 5 and after do next:
6.- Go to Reference folder and remove TeeChart.dll
7.- Click right button, select add references...
8.- Select tag browse and go to the directory where you have TeeChart.dll x64, as example:
C:\Program Files\Steema Software\Steema TeeChart for .NET 2011 4.1.2011.07280 VS2008\net35\x64
9.- Select TeeChart.dll x64 and close it.
10.- Try to run the project.
If previous steps don’t solve your problem please indicate in which step your problem appears.
I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

biqpaulson
Newbie
Newbie
Posts: 93
Joined: Thu Apr 17, 2008 12:00 am

Re: Strange look pie charts

Post by biqpaulson » Wed Sep 21, 2011 12:22 pm

Hi:

I tried to follow your instructions. Now (this is different than the first time I installed), I received the following message (see attachment).

Thanks,

Matt
Attachments
InstallError.png
InstallError.png (27.3 KiB) Viewed 16143 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Strange look pie charts

Post by Sandra » Wed Sep 21, 2011 1:36 pm

Hello Matt,

It occurs when you reinstall the version without uninstalling your previous installation, because to default, installer always, suggest same path and same folder to install all of IDEs. I suggest you, two ways to solve the problem:

1.- Uninstall the TeeChart.Net and remove the folder where it was installed.
2.- Change the name of folder for example, if you want install different IDES you can set names:

Steema TeeChart for .NET 2011 4.1.2011.07280 VS2010
Steema TeeChart for .NET 2011 4.1.2011.07280 VS2008
Steema TeeChart for .NET 2011 4.1.2011.07280 VS2005
Steema TeeChart for .NET 2011 4.1.2011.07280 VS2003

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

biqpaulson
Newbie
Newbie
Posts: 93
Joined: Thu Apr 17, 2008 12:00 am

Re: Strange look pie charts

Post by biqpaulson » Wed Sep 21, 2011 1:54 pm

I followed steps 1-5 + 10, because we are only interested in x86. This failed. Note that step 4, you specify:

C:\Program Files\Steema Software\Steema TeeChart for .NET 2011 4.1.2011.07280 VS2008\net35\x86\TeeChart.dll

Note that there is no net35 directory; only 4.0. Is that a problem or just a documentation oversight?

The errors that were displayed when I tried to run the project were:

Warning 1 The referenced assembly "TeeChart" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project. WindowsApplication3

Warning 2 The referenced assembly "TeeChart" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project. WindowsApplication3

Error 3 Unable to resolve type 'Steema.TeeChart.TChart, TeeChart, Version=4.1.2011.7283, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' c:\users\matt\documents\visual studio 2010\Projects\WindowsApplication3\WindowsApplication3\My Project\licenses.licx 1 WindowsApplication3


Thanks,

Matt

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Strange look pie charts

Post by Sandra » Wed Sep 21, 2011 3:19 pm

Hello Matt,
I followed steps 1-5 + 10, because we are only interested in x86. This failed. Note that step 4, you specify:

C:\Program Files\Steema Software\Steema TeeChart for .NET 2011 4.1.2011.07280 VS2008\net35\x86\TeeChart.dll

Note that there is no net35 directory; only 4.0. Is that a problem or just a documentation oversight?
The documentation is correct and your directory too. The directory net35 only appears, if you install the version of TeeChart.Net to VS2008 and I have used it to do my explanation, as example.
Error 3 Unable to resolve type 'Steema.TeeChart.TChart, TeeChart, Version=4.1.2011.7283, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' c:\users\matt\documents\visual studio 2010\Projects\WindowsApplication3\WindowsApplication3\My Project\licenses.licx 1 WindowsApplication3
I think that this error appears so you have the project .Net Framework as Client Profile and you need change it. You can do something as next:

1.- Click with right button in your project solution
2.- Select properties
3.- Select tag Application
4.- Change the option .NET framework 4.0 Client profile to .NET framework 4.0 and try to run it.

Can you confirm us if your problem is solved?

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

biqpaulson
Newbie
Newbie
Posts: 93
Joined: Thu Apr 17, 2008 12:00 am

Re: Strange look pie charts

Post by biqpaulson » Wed Sep 21, 2011 3:32 pm

Hi Sandra:

I will try your suggestions, but first I have several questions. Please answer each one separately.

1) I'm not sure why you are mentioning VS2008. I'm using VS2010. And the package I installed only has choices for .net 4.0. Are you simply saying that your example doesn't exactly match my situation? If so, then that's fine. Please confirm.

2) Our target project is .net 3.51. Is that a problem with your latest version and VS 2010?

Thanks,

Matt

biqpaulson
Newbie
Newbie
Posts: 93
Joined: Thu Apr 17, 2008 12:00 am

Re: Strange look pie charts

Post by biqpaulson » Wed Sep 21, 2011 6:49 pm

Hi:

I have tried your suggestion and changing the target to 4.0 worked, but changing the target to 3.5 framework generated many warnings and this error:

Error 38 'Could not load file or assembly 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.' C:\Users\matt\Documents\Visual Studio 2010\Projects\WindowsApplication3\WindowsApplication3\LC WindowsApplication3

This brings me back to my earlier question which now is starting to worry me greatly:

2) Our target project is .net 3.51. Is that a problem with your latest version and VS 2010?

Thanks,

Matt

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Strange look pie charts

Post by Sandra » Thu Sep 22, 2011 9:45 am

Hello Matt,
I have tried your suggestion and changing the target to 4.0 worked, but changing the target to 3.5 framework generated many warnings and this error:

Error 38 'Could not load file or assembly 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.' C:\Users\matt\Documents\Visual Studio 2010\Projects\WindowsApplication3\WindowsApplication3\LC WindowsApplication3

This brings me back to my earlier question which now is starting to worry me greatly:

2) Our target project is .net 3.51. Is that a problem with your latest version and VS 2010?
Ok, you need know there is a compiled TeeChart.dll for each .Net Frameworks that exists, and depends of VS and .Net Framework you are using; you need use a TeeChart.dll or other. Therefore, if you want work with .Net Framework 3.5 you need TeeChart.dll that have been compiled to .Net Framework 3.5 and it could be used in VS2008 or VS2010. In your case, as you are using VS2010 you only need follow next steps:

1.- Install TeeChart.dll for .Net Framework 3.5, so you need install version of TeeChart.Net for VS2008.
2.- Open VS2010, create a new project and change its .Net Framework to 3.5
3.- Click with right button in References folder and select Add Refrences
4.- Go to tab Browse and select the TeeChart.dll to .Net Framework 3.5.
5.- Try to run application again.

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

biqpaulson
Newbie
Newbie
Posts: 93
Joined: Thu Apr 17, 2008 12:00 am

Re: Strange look pie charts

Post by biqpaulson » Thu Sep 22, 2011 11:08 am

Hi Sandra:

On your download page the only 07280 version I see is: TeeChartNET2011_4.1.2011.07280.exe

Is there a 07280 build for VS2008 that I can use to install on VS2010 using .net 3.5?

Thanks,

Matt

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Strange look pie charts

Post by Sandra » Thu Sep 22, 2011 12:33 pm

Hello Matt,
On your download page the only 07280 version I see is: TeeChartNET2011_4.1.2011.07280.exe

Is there a 07280 build for VS2008 that I can use to install on VS2010 using .net 3.5?
In latest installers of TeeChart.Net all VS versions are into the same installer and when you execute it, the same installer give you an option to choose the IDE (VS version) as you want. If you want work using .Net Framework 3.5 you need install assembly compiled for .Net Framework 3.5 that in this case is, the assembly for VS2008. When you installed this assembly and you want works with VS2010, you only need follow previous steps, as I suggest you.
Can you confirm us if TeeChart assembly compiled for .net framework 3.5 works as you expected in the VS2010?

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

biqpaulson
Newbie
Newbie
Posts: 93
Joined: Thu Apr 17, 2008 12:00 am

Re: Strange look pie charts

Post by biqpaulson » Thu Sep 22, 2011 1:36 pm

Hi Sandra:

I was able to install your newest build but choose "vs2008" as the target and it did create the 3.5 framework directory (I can see why you structured the installer this way, but I would suggest clarifying the screen on the installer to make this more obvious -- like adding: "VS2008 (.net framework 3.5, etc.

After dropping the old teechart reference and adding the "new" (3.5) reference, the test project complied correctly.

I then updated my product references and ran the pie chart test again using the newer version of your product.

Unfortunately, the pie-chart rendering issue still occurs.

Regarding the rendering issue, I have noticed the following:

If you create a "larger" pie chart and then use the rotate tool to force the rendering problem to occur, it will not.
If you create a "smaller" pie chart and then use the rotate tool force the rendering problem to occur, the "bad" render will come and go as the rotation angel changes.

It will be difficult for us to create a repro in a small project for you, but we will try. In the mean time, can you also try to create a smaller pie chart and then use the rotation tool to see if you can cause the rendering problem? It seems to me that my bad pie chart is around 200x200 pixels (see attached).

Thanks,

Matt
Attachments
BadPie1.png
BadPie1.png (21.07 KiB) Viewed 16119 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Strange look pie charts

Post by Sandra » Fri Sep 23, 2011 10:25 am

Hello Matt,

Finally, I can reproduce your problem and I have added it in bug list report with number [TF02015753]. We will try to fix it for next maintenance releases of TeeChart.Net

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply