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 class initialization is error in ChartViewBase #1090

Closed
hanjt opened this issue May 31, 2016 · 0 comments
Closed

ChartHighlight class initialization is error in ChartViewBase #1090

hanjt opened this issue May 31, 2016 · 0 comments

Comments

@hanjt
Copy link

hanjt commented May 31, 2016

Hi, I found ChartHighlight initialize data in ChartViewBase class is error. The code is

h = ChartHighlight(xIndex: h!.xIndex, value: Double.NaN, dataIndex: -1, dataSetIndex: -1, stackIndex: -1)

But the _dataIndex and _dataSetIndex default value is -1 in ChartHighlight. When I run the code, it must be crash.

I fix the bug. But I can't push the code.

@hanjt hanjt closed this as completed May 31, 2016
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

1 participant