Page 1 of 1

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

Posted: Sun Apr 23, 2023 7:21 pm
by 21095514
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.

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

Posted: Mon Apr 24, 2023 8:55 am
by Christopher
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 3364 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.