TeeCommander - Would like to have 3-D off during Zoom

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Faheem
Newbie
Newbie
Posts: 1
Joined: Fri Jun 06, 2008 12:00 am

TeeCommander - Would like to have 3-D off during Zoom

Post by Faheem » Thu Dec 04, 2008 9:58 pm

I am using TeeChart Pro VCL with BDS 2006. I have a line Chart (2-D) with a TeeCommander Toolbar added on the form.

I have disabled & hide the 3D speedbutton including setting of View3D := False.

However, when I click on Zoom Speedbutton it automatically shows the chart in 3D. I would like disable this 3D mode.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Dec 05, 2008 8:32 am

Hi Faheem,

I'm afraid this is not possible using TTeeCommander's zooming feature. The only possibility to zoom in 2D is using TeeChart default zooming features as described in Tutorial 11 - Zoom and Scroll. Tutorials can be found at TeeChart's program group.

Alternativelly you can use ZoomPercent in 2D charts too, for example:

Code: Select all

procedure TForm1.Button1Click(Sender: TObject);
begin
  Chart1.ZoomPercent(110);
end;

procedure TForm1.Button2Click(Sender: TObject);
begin
  Chart1.ZoomPercent(90);
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
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply