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?