-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NaN makes highestVisibleXIndex crash #980
Comments
if pixelToValue returns NaN, have you checked pt itself, or the matrix messed up. |
Does this still happen? |
It still does happen. The problem is somewhat rare but it happens in some cases I couldn't identify yet. |
well could you capture or even reproduce the crash? We have to know more to locate the issue |
I could reproduce it quite easily when I reported originally but now I can't anymore :( it seems that it happened with some specific data pattern that isn't happening any longer. Anyway, I guess you guys can close this issue if you want until I can get a stack trace, simulate it or something like that. |
sure thing. When you see the crash(hopefully not), please debug as possible as you can, especially the chart transformers matrix values. |
Ran into this crash today. Only happens when I have |
If you are using |
In some scenarios, when scrolling from the rightmost side of a CandleStick chart to the leftmost side, I'm getting a crash when reaching the beginning of the chart at the
highestVisibleXIndex
in thecalcXBounds
method callend when drawing.In the
highestVisibleXIndex
getter:This line results in pt.x and pt.y being NaN, and then it crashes when it tries to round it.
Any ideas on why could this happen?
The text was updated successfully, but these errors were encountered: