with dbchart1 do
begin
Series1.DataSource:=Qry1;//qurey1; { <-- the Table component }
Series1.YValues.ValueSource:='y轴显示的内容'; { <-- the Field for Bar Values }
//Series1.XValues.ValueSource:='cross';
Series1.XLabelsSource:='x轴显示的内容';
//dbchart1.Series1. DataSource.Name:=query1;
end;