Skip to content
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

<Error>: 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. #1714

Closed
StevenMasini opened this issue Oct 25, 2016 · 1 comment

Comments

@StevenMasini
Copy link

Hi Charts Team,

I already opened an issue for this before, but because you officially release the version 3.0 on Cocoapods, I think that bug should be corrected.

I'm still experimenting the same bugs when positioning the highlight bar manually using self.chartView.highlightValue(x: maxIndexPoint.x, dataSetIndex: 0, callDelegate: true)

Same problem as reported in issue #1626

My console log shows
<Error>: 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.
<Error>: CGContextAddLineToPoint: no current point.

Any solution or work around ?

Thank you.

@liuxuan30
Copy link
Member

I am closing this since you had one. Please give more details, like where it breaks, what's the value causes to be NaN, etc in #1626

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants