PolarChart Zoom gets reset!

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Bill
Newbie
Newbie
Posts: 21
Joined: Mon Jan 03, 2011 12:00 am

PolarChart Zoom gets reset!

Post by Bill » Thu Sep 15, 2011 10:18 pm

Hi,

I create a TChart and drop a TPolarSeries and add some polar points. Set the Chart Legend to Check Boxes. Add the following code.

__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{

Chart1->View3D = 1;

for(int i = 0; i < 360; i+= 10)
Series1->AddPolar(i, 10, "", clBlack);

Chart1->View3DOptions->Zoom = 150;

}

Run the program and click on the Series1 CheckBox. Click the CheckBox again to amke the series visible. Chart1->View3DOptions->Zoom now is reset to 100!

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

Re: PolarChart Zoom gets reset!

Post by Narcís » Fri Sep 16, 2011 8:11 am

Hi Bill,

Thanks for reporting. I could reproduce the issue here using code snippet below and added it (TV52015739) to the defect list to be investigated.

Code: Select all

uses Series, TeePolar;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.View3D:=True;
  Chart1.Legend.CheckBoxes:=True;
  Chart1.AddSeries(TPolarSeries.Create(Self)).FillSampleValues;
  Chart1.View3DOptions.Zoom:=150;
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