-
-
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
Crash on one entry point in charts #265
Comments
you have to give more information why it is (nan,nan). I met such issues from time to time, and I found it's my fault to feed invalid numbers like nan, like divide 0. Usually it is your duty to make sure all the data you passed through is valid. If it is a bug, you might need to provde the test data so we can reproduce it. Generally above code seems fine. |
It only happen when I have one entry point for the graph. Before the line method "getTransformer" my pt. returns (356, 10), after that pt becomes (nan, nan) |
only one entry point should not be the problem. What's the dataSet code and the view bounds? |
Please state the version you are using, and show the dataset that crashes. |
I do not experience any crash with 1 bar. There was a random crash with zero bars which was just fixed. |
I have the same crash when the set has all values with the same value (zeros, ones, etc) |
@mlorenzeCDS what chart and what data can we reproduce? |
I found the solution. The problem was when the dataset has all values equals to zero in Wave Chart. Thanks! |
@danielgindi are you aware of this zero issue? |
Hi all, I noticed when there is ok one entry point for the chart and it crash with error: (EXC_BAD_INSTRUCTION) at
I found out that the point end up display (nan, nan) thus the error. Is there a precaution or workaround for this?
The text was updated successfully, but these errors were encountered: