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
Rotating tool
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi rojo,
You can do this programatically:
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;
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 |
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
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
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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.
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 |