Page 1 of 1

Property EndPosition Does Not Exist?

Posted: Fri Dec 11, 2009 7:31 pm
by 10545663
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

Re: Property EndPosition Does Not Exist?

Posted: Mon Dec 14, 2009 2:50 pm
by yeray
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;

Re: Property EndPosition Does Not Exist?

Posted: Mon Dec 14, 2009 3:21 pm
by yeray
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;