Контрольная работа: Разработка программного комплекса
if (Workers[i-1].Edication = 'Высшее') then
yars[y2-y1] := yars[y2-y1] + 5
else
if (Workers[i-1].Edication = 'Cреднеспециальное') then
yars[y2-y1] := yars[y2-y1] + 4
else
if (Workers[i-1].Edication = 'Cреднее') then
yars[y2-y1] := yars[y2-y1] + 3
else
if (Workers[i-1].Edication = 'Неполноесреднее') then
yars[y2-y1] := yars[y2-y1] + 2
else
yars[y2-y1] := yars[y2-y1] + 1;
end;
for i:=1 to 60 do
Series1.AddXY(i,yars[i-1]);
end;
procedure TForm7.FillKrug(Workers:array of TWorker);
var
i,n : integer;
y1,m1,d1,y2,m2,d2 : Word;
stch1,stch2,stch3 : integer;
begin
//Chart1.SeriesList.Clear;
//Chart1.SeriesList.Clear;
//Chart1.SeriesList.Add(Series2);
Chart1.Visible := false;
Chart2.Visible := true;
Chart3.Visible := false;