dbchart的相关问题
delphi吧
全部回复
仅看楼主
level 4
847427402 楼主
DBChart1.Series[0].DataSource:=adoquery13;
DBChart1.Series[0].XValues.ValueSource:='id';
DBChart1.Series[0].YValues.ValueSource:='change';
id在数据库中是日期为char类型
运行时系统提示 2013-10-12 is not a valid float point的信息
如何解决
2014年05月18日 13点05分 1
吧务
level 14
日期为char,脑残的设计。那你就自己把字符串转成日期呗。
2014年05月18日 13点05分 2
DBChart1.Series[0].XValues.ValueSource:='strtodata(id)';这样是吗 数据库是别人的
2014年05月18日 14点05分
回复 847427402 :对。不过这个函数不一定成功。每台机器的日期格式不一样的。
2014年05月18日 14点05分
1