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
Aspect Ratio for X and Y Axis for 3D Plot.
-
- Newbie
- Posts: 57
- Joined: Mon Nov 19, 2007 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Sanyog,
Yes, you can use this:
You may also be interested in the All Features\Welcome !\Axes\Isometric axes example at the features demo, available at TeeChart's program group.
Yes, you can use this:
Code: Select all
tChart1.Axes.Left.StartPosition = 10;
tChart1.Axes.Left.EndPosition = 10;
Best Regards,
Narcís Calvet / 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 |
-
- Newbie
- Posts: 57
- Joined: Mon Nov 19, 2007 12:00 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
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
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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 |
Instructions - How to post in this forum |