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

Give id for node #1493

Closed
ghost opened this issue Sep 20, 2016 · 1 comment
Closed

Give id for node #1493

ghost opened this issue Sep 20, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 20, 2016

Hello
I want give to id for every node in line chart when click on node then call chartValueSelected function. in this function want got id of node.

now i am using BarChartDataEntry *newEntry = [[BarChartDataEntry alloc]initWithValue:[dict[@"medsTaken"] floatValue] xIndex:i]; in loop

so how to do this.

thanks

@danielgindi
Copy link
Collaborator

That's what the data argument is for!

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