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

when click node call chartValueSelected funtion #1499

Closed
ghost opened this issue Sep 20, 2016 · 7 comments
Closed

when click node call chartValueSelected funtion #1499

ghost opened this issue Sep 20, 2016 · 7 comments

Comments

@ghost
Copy link

ghost commented Sep 20, 2016

I want When i click on node than call chartValueSelected in LineChart but at this time I click anywhere inside the chart this function calling even i am clicking on line than also call.

@Huang-Libo
Copy link

@Sudhir9026 You mean that you need chart to be highlighted olny when the node is tapped?

@ghost
Copy link
Author

ghost commented Sep 20, 2016

yes

@Huang-Libo
Copy link

@Sudhir9026
This demand seems strange, because a node is not that easy to be tapped, it's a very small dot. Maybe Charts do not have this mode, I guess.

@ghost
Copy link
Author

ghost commented Sep 20, 2016

but this is very confusing. my requirement is when click on node then open to detail of this node.

@Huang-Libo
Copy link

Huang-Libo commented Sep 20, 2016

@Sudhir9026
Charts will highlight the nearest node from where you have tapped.

@liuxuan30
Copy link
Member

liuxuan30 commented Sep 21, 2016

as @Huang-Libo said, it will find the nearest value to highlight. You could do something in delegate to ignore the highlight you don't need or override the method to set a threshold.

@RajAggrawal0507
Copy link

RajAggrawal0507 commented Aug 19, 2019

I have a candle chart and having the same problem. Whenever I click anywhere in the chart, nearest candle selected.
I want to select candle only if I click on particular candle not anywhere in chart

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

3 participants