Chart 2D mode.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
tequilla
Newbie
Newbie
Posts: 6
Joined: Fri Aug 25, 2006 12:00 am
Contact:

Chart 2D mode.

Post by tequilla » Tue Apr 17, 2007 9:22 am

Hello!

I have surface. I want to disable 3D to achieve high speed but I need to see my surface from above (to see x,z axes insteed of x,y). How can I set 2D view direction?

thank you.

Edu
Advanced
Posts: 206
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia

Post by Edu » Tue Apr 17, 2007 10:12 am

Hi Tequilla

I suggest you use a ColorGrid Series. Or also with Surface Series, you can change the Elevation and Rotation of the Chart, to do a aspect 2D as below code:

Code: Select all

private void Form1_Load(object sender, EventArgs e)
        {
            surface1.FillSampleValues();
        }

       
        private void checkBox1_CheckedChanged(object sender, EventArgs e)
        {
            tChart1.Aspect.Orthogonal = !tChart1.Aspect.Orthogonal;

            if (this.checkBox1.Checked)
            {
                tChart1.Aspect.Elevation = 270;
                tChart1.Aspect.Rotation = 360;
            }
            else
            {
                tChart1.Aspect.Elevation = 345;
                tChart1.Aspect.Rotation = 345;
            }
        }
Best Regards,
Edu

Steema Support Central
http://support.steema.com/

tequilla
Newbie
Newbie
Posts: 6
Joined: Fri Aug 25, 2006 12:00 am
Contact:

Post by tequilla » Wed Apr 18, 2007 2:10 am

Hi Edu.

But it's still 3D mode and I don't gain the speed in this case. Ok, I see it's better to use ColorGrid but I need rotate it on 90 deg. right to add vertical columns to the end using ADD method and delete usind DELETE.

Post Reply