Tee chart

Please discuss general Delphi programming topics here.

Tee chart

Postby sekar1 » March 14th, 2007, 5:51 am

hi,
i am using teechart to make plot. here is the code.. the form is having a tchart and one button. i selected the Tlineseries as series.

procedure TForm1.Button1Click(Sender: TObject);

var
i:integer;
ss1:array of double;
ss2:array of double;
//series1:TLineseries;

begin
setlength(ss1,100);
setlength(ss2,100);
//series1:=Tlineseries.Create(self);
for i:=0 to 99 do
begin
ss1[i]:=i;
ss2[i]:=2000;
series1.AddXY(ss1[i],ss2[i]);
end;
end;

end.


while at run time, it is showing some error.. but if u change the value of ss2[i]:= 1800; it is working.. i need to plot like this some 12000 datas of having value 99999. all the values in the array are of same.

1. what is the maximum constant Yvalue that tee chart will accept? since in the fun dec it is showing as var: array of double?
sekar1
Junior Member
Junior Member
 
Posts: 25
Joined: December 21st, 2006, 5:55 am

Postby sekar1 » March 15th, 2007, 4:37 am

i forget to add one thing. i am using delphi 7 and teechart standard4.0
sekar1
Junior Member
Junior Member
 
Posts: 25
Joined: December 21st, 2006, 5:55 am


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 20 guests

cron