we have added the chart1.Tools.add(trotatetool.create(self))
to our project, but we cannot find anywhere the commands to
do either rotation or elevation Can you give uis a small code snippet
to point the way?
Thanks
Jennifer
rotate/elevate
Hi Jennifer,
you can do :
you can do :
Code: Select all
procedure TForm1.BitBtn1Click(Sender: TObject);
begin
Chart1.Tools.Add(TRotateTool.Create(self));
(Chart1.Tools.Items[0] as TRotateTool).Inverted := true;
(Chart1.Tools.Items[0] as TRotateTool).Pen.Visible := true;
end;
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 9
- Joined: Fri Nov 15, 2002 12:00 am
- Location: Dallas Tx
rotate/elevate
Hi-
I'm a little confused here-I had expectred there to be a rotate method and
an elevate method.something like:
[object]. rotate(angle) or [object.elevate[angle] This syntax may be incorrect,but we are for the methods to actually enter the bangle amgle
and perform the geometry operastion.
Thanks,
Jennifer
I'm a little confused here-I had expectred there to be a rotate method and
an elevate method.something like:
[object]. rotate(angle) or [object.elevate[angle] This syntax may be incorrect,but we are for the methods to actually enter the bangle amgle
and perform the geometry operastion.
Thanks,
Jennifer
Hi.
See my other reply about this topic(http://www.teechart.net/support/modules ... 40fecbc0b3). Basically all you have to do is set the TChart.Aspect Rotation and Elevation properties.
See my other reply about this topic(http://www.teechart.net/support/modules ... 40fecbc0b3). Basically all you have to do is set the TChart.Aspect Rotation and Elevation properties.
Marjan Slatinek,
http://www.steema.com
http://www.steema.com
Hi Jennifer,
to set the Rotation and Elevation via code you must use :
Chart1.View3DOptions.Rotation := X;
Chart1.View3DOptions.Elevation := X;
to set the Rotation and Elevation via code you must use :
Chart1.View3DOptions.Rotation := X;
Chart1.View3DOptions.Elevation := X;
Pep Jorge
http://support.steema.com
http://support.steema.com