Page 1 of 1

2D View From top

Posted: Thu Dec 18, 2003 2:53 pm
by 4207876
Hi.

I have a TPoint3DSeries plot in the chart. If I set Chart1.View3D to false, I get a 2D View from the front (x-y axes), is there a easy way to obtain a 2D View from the top (x-z axes)?

Thanks,
WILLY

Posted: Thu Dec 18, 2003 5:53 pm
by Marjan
Hi, Willy.

Yes, there is. Basically, all you have to do is rotate chart so that x-z plane will be perpendicular to your point of view:

Code: Select all

With Chart1 do
begin
    Chart3DPercent := 100;
    View3DOptions.Elevation := 270;
    View3DOptions.Orthogonal := False;
    View3DOptions.Perspective := 0;
    View3DOptions.Rotation := 360;
end;

Posted: Thu Dec 18, 2003 6:28 pm
by 4207876
Hi.

Thanks! Sorry for the dumb question. I somehow managed to miss the perspective property when I was searching for a solution. :oops:

Thanks,
WILLY