E
esri
Unregistered / Unconfirmed
GUEST, unregistred user!
for i:=0 to self.DataSource2.DataSet.RecordCount-1do
begin
my:=tchartseries.Create(self);
my.ParentChart:=self.DBChart1;
my.DataSource:=self.DataSource2;
my.XLabelsSource:='学历';
my.YValues.ValueSource:='ren';
self.DBChart1.AddSeries(my);
self.DataSource2.DataSet.MoveBy(1)
end;
为什么没有图形?
begin
my:=tchartseries.Create(self);
my.ParentChart:=self.DBChart1;
my.DataSource:=self.DataSource2;
my.XLabelsSource:='学历';
my.YValues.ValueSource:='ren';
self.DBChart1.AddSeries(my);
self.DataSource2.DataSet.MoveBy(1)
end;
为什么没有图形?