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

ChartHighlight init data in function of highlightValue error #1096

Closed
hanjt opened this issue Jun 1, 2016 · 1 comment
Closed

ChartHighlight init data in function of highlightValue error #1096

hanjt opened this issue Jun 1, 2016 · 1 comment

Comments

@hanjt
Copy link

hanjt commented Jun 1, 2016

h = ChartHighlight(xIndex: h!.xIndex, value: Double.NaN, dataIndex: -1, dataSetIndex: -1, stackIndex: -1)
The code in ChartViewBase.swift will be crash, because of -1outside of array in function of drawMarkers. The crash code is let highlight = _indicesToHighlight[i]
Yesterday I pull request and the id is #1094, but the Travis CI could not complete build. I don't know why.
Now I have to use v2.2.4 to avoid the crash. Could you help me to use v2.2.5?

@liuxuan30
Copy link
Member

liuxuan30 commented Jun 2, 2016

Travis is having problems, so you won't see it's green.

-We could discuss in the PR, so closing this one

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