Property EndPosition Does Not Exist?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
MikeBeachBum
Newbie
Newbie
Posts: 14
Joined: Fri Jun 22, 2007 12:00 am

Property EndPosition Does Not Exist?

Post by MikeBeachBum » Fri Dec 11, 2009 7:31 pm

Hi,

I've been a long time TeeChart user but have run across something a little strange. I have a TChart on a form with lots of fun stuff on it, but when I try to run the program I get the error "MyChart->RightWall.EndPosition: Property EndPosition does not exist". But, dang it! The EndPosition property is indeed there in the .dfm file, I can change it. But for some reason it just can't read it? Anyone have any suggestions?

Thanks,
Michael

Yeray
Site Admin
Site Admin
Posts: 9601
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Property EndPosition Does Not Exist?

Post by Yeray » Mon Dec 14, 2009 2:50 pm

Hi Michael,

The problem could be caused by a particular combination of properties or setting in your chart. Could you please try to send us an as simple as possible application we can run as-is to reproduce the problem here? Thanks in advance.

Note that the following seems to work as expected:

Code: Select all

uses series;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.AddSeries(TLineSeries.Create(self));
  Chart1[0].FillSampleValues(25);

  Chart1.Walls.Back.Transparent:=false;
  Chart1.Walls.Back.Size:=10;
  Chart1.Walls.Back.StartPosition:=33;
  Chart1.Walls.Back.EndPosition:=66;
end;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9601
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Property EndPosition Does Not Exist?

Post by Yeray » Mon Dec 14, 2009 3:21 pm

Hi Michael,

In C++Builder, this seems to work fine too:

Code: Select all

  Chart1->Walls->Back->Transparent=false;
  Chart1->Walls->Back->Size=10;
  Chart1->Walls->Back->StartPosition=33;
  Chart1->Walls->Back->EndPosition=66;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply