Page 1 of 1
Rotating tool
Posted: Thu Dec 06, 2007 9:22 pm
by 10046306
Hello,
I have a problem with the rotating tool. i have a trackbar withe 0 to 360 deg.
But wenn i use the mouse and change the surfacechart it only can change the elevation between 270 and 360 degrees.
I want i to move the elevation between -90 and 90 deg. can you help me
Posted: Fri Dec 07, 2007 10:08 am
by narcis
Hi rojo,
You can do this programatically:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
begin
Chart1.Aspect.Orthogonal:=false;
Chart1.Aspect.Elevation:=0;
TrackBar1.Min:=-90;
TrackBar1.Max:=90;
end;
procedure TForm1.TrackBar1Change(Sender: TObject);
begin
Chart1.Aspect.Elevation:=TrackBar1.Position;
end;
Posted: Fri Dec 07, 2007 11:55 am
by 10046306
Hi,
i made this already. With the trackbar you can elevate the graph.
But i also want to elevate the graph with the mouse. Therefor i use the rotating tool. But wenn i set chart1.Aspect.Elevation:= 0; and i want to elevate with the mouse in the graph. The graph jumps to 270 deg. I think becaus the rotating tool only can elevate between 270 and 360 deg.
I hope you have a solution.
Rojo
Posted: Fri Dec 07, 2007 12:05 pm
by narcis
Hi Rojo,
I'm afraid so. In that case, the only solution I can think of is being a sourcecode customer and modifying tool's sources to fit your needs. I'll also add your request to our wish-list to be considered for inclusion in future releases.