Aspect Ratio for X and Y Axis for 3D Plot.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
drillright40
Newbie
Newbie
Posts: 57
Joined: Mon Nov 19, 2007 12:00 am

Aspect Ratio for X and Y Axis for 3D Plot.

Post by drillright40 » Thu Nov 06, 2008 7:02 am

Hi,

I need to draw a 3D Plot based on Aspect Ratio for X,Y and Z Axis.
Using 'Aspect.Chart3DPercent' property , i am able to move(stretch or squeeze the Axis) the depth axis.
But, am not able to move the left and bottom axis.

Is there any property or method to move even these two axis?
Thanks in Advance.

Regards,
Sanyog

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Nov 06, 2008 10:00 am

Hi Sanyog,

Yes, you can use this:

Code: Select all

			tChart1.Axes.Left.StartPosition = 10;
			tChart1.Axes.Left.EndPosition = 10;
You may also be interested in the All Features\Welcome !\Axes\Isometric axes example at the features demo, available at TeeChart's program group.
Best Regards,
Narcís Calvet / 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

drillright40
Newbie
Newbie
Posts: 57
Joined: Mon Nov 19, 2007 12:00 am

Post by drillright40 » Fri Nov 07, 2008 9:10 am

Hi,
I tried giving this.tChart1.Axes.Left.StartPosition = 10;
and this.tChart1.Axes.Left.EndPosition = 40;

but result is not what I am expecting.
I have uploaded the image (AspectRatio.jpg) to show the problem with this implementation.

So, on the left axis the scale values gets repositioned.But I want the entire axis to be minimized to a particular value.
e.g.For Depth Axis (in my case X axis) which is circled with Green color,I had set tChart1.Aspect.Chart3DPercent = 30, and then the depth axis got compressed to 30%

Same functionality i need for Left (in my case Z axis )and Top Axis (Y axis).

Regards,
Sanyog

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Nov 07, 2008 10:18 am

Hi Sanyog,

In that case you could try setting tChart1.Aspect.Chart3DPercent to 100% and set StartPosition and EndPosition for all your axes.

Also, have you looked at the Isometric Axes example? Was it of any help? You can find an example of using isometric axes in a 3D chart here. It's a TeeChart ActiveX thread but same applies to the .NET version.
Best Regards,
Narcís Calvet / 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