procedure tform1.bottom1click(sender:Tobject) ;
begin
If Bottom1.Tag=1 then
begin
Chart1.series[0].show ;
Chart1.series[1].close ;
Bottom1.tag := 2 ;
End
else
begin
Chart1.series[0].close ;
Chart1.series[1].show ;
Bottom1.tag := 1 ;
End ;
End ;
if chart1.SeriesList[0].active then
begin
chart1.SeriesList[0].active:=False;
chart1.serieslist[1].active:=True;
end
else
begin
chart1.SeriesList[1].active:=False;
chart1.serieslist[0].active:=True;
end;