KDJ无法绘制,已经确定最高价、最低价、开盘、收盘 都是有值的
Parkour-zhou opened this issue · comments
所有的KDJ都是这样么?
对的,我的KDJ也是
一直报这样一个错:[Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem.
运行一会就崩了
可能是lua脚本语言与oc语言基本类型转换错误。最好提供给我一个稳定重现的demo来排查。
@MarcWeigert 您好,demo我准备好了,麻烦了,谢谢哈
GGCharts-KDJerror.zip
改好了, 更新最新代码就可以了。如果线吗发直接把 kdj.lua替换了就好。
@MarcWeigert 好的,麻烦了
问题关了吧。
@MarcWeigert 刚更新了kdj.lua,clean,并删除工程,重新编译打包 ,还是报一样的问题,然后用发你的demo工程试了下,也是一样的,
2018-01-11 09:16:22.222412+0800 GGCharts[25494:3751986] [Unknown process name] Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem.
2018-01-11 09:16:22.222674+0800 GGCharts[25494:3751986] [Unknown process name] If you want to see the backtrace, please set CG_NUMERICS_SHOW_BACKTRACE environmental variable.
最新的kdj 用你的demo 没出现问题了啊
@MarcWeigert 是在d =0时候没有做 rsvArray[I]=50;