dbchart1数据源连接问题(50分)

  • 主题发起人 delphi_vcl
  • 开始时间
D

delphi_vcl

Unregistered / Unconfirmed
GUEST, unregistred user!
在用多种图表表示分析时,我写下了如下的代码,但总提示dbchart的是数据源无效
MyBarSeries:=TBarSeries.Create(self);
with MyBarSeries do
begin
marks.Style:=smslabelPercentTotal;
coloreachpoint:=true;
DataSource:=Fm_OutputGather.AQry_OutputRedeploy;//出问题的地方
//Fm_OutputGather.AQry_OutputRedeploy为另外一个窗体上的ADOQuery.
ParentChart:=dbchart1;
ChoiceY;
CheckDataSource;
请各位大虾指点一下。
 
没有人理我。
算了,我自己解答好了。
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
987
SUNSTONE的Delphi笔记
S
S
回复
0
查看
805
SUNSTONE的Delphi笔记
S
顶部