Build error: The name 'TowerStyles' does not exist in the

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
21095514
Newbie
Newbie
Posts: 1
Joined: Tue Mar 28, 2023 12:00 am

Build error: The name 'TowerStyles' does not exist in the

Post by 21095514 » Sun Apr 23, 2023 7:21 pm

Hello,

I have a project with using very old version of teechart. After upgrading teechart library to latest version (TeeChart for .NET Products) some types are missing.
For example: TowerStyles and Steema.TeeChart.Drawing.GL.TTeeOpenGL.

I am confusion because I see these types in documentation but they are missing in VS project.

Note: In old project included assembly name was TeeChart
After upgrading I see TeeChart.Business assembly name.

Thank you in advance.

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Build error: The name 'TowerStyles' does not exist in the

Post by Christopher » Mon Apr 24, 2023 8:55 am

Hello,

please note that there are now two versions of TeeChart and therefore two different NuGet packages:
1. TeeChart.NET Pro Edition
2. TeeChart Business Edition

The Pro edition has the Tower Series in it:

Code: Select all

        private void InitializeChart()
        {
            tChart1.Aspect.View3D = true;
            tChart1.Aspect.Orthogonal = false;
            tChart1.Aspect.Chart3DPercent = 100;
            tChart1.Aspect.Zoom = 80;
            tChart1.Header.Text = Steema.TeeChart.Utils.Version;
            var tower = new Steema.TeeChart.Styles.Tower(tChart1.Chart);
            tower.FillSampleValues();
            tower.TowerStyle = Steema.TeeChart.Styles.TowerStyles.Pyramid;
        }
Screenshot from 2023-04-24 10-47-58.png
Screenshot from 2023-04-24 10-47-58.png (154.92 KiB) Viewed 4965 times
The differences between the Pro and Business versions are listed in our feature
matrix
.

The OpenGL assembly for TeeChart has been deprecated in both versions.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply