We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How to get the index of the point that user clicked on in below code?
spline.setPoint(new HIPoint()); spline.getPoint().setEvents(new HIEvents()); spline.getPoint().getEvents().setClick(new HIFunction( f -> { Toast t = Toast.makeText( this, "Clicked point [ " + f.getProperty("x") + ", " + f.getProperty("y") + " ]", Toast.LENGTH_SHORT); t.show(); }, new String[] {"x", "y"} ));
The text was updated successfully, but these errors were encountered:
Checkout: #301
Does point.series.index work for you in this context? I had a similar issue and that is how I was able to access the series index on Android.
point.series.index
Sorry, something went wrong.
No branches or pull requests
How to get the index of the point that user clicked on in below code?
The text was updated successfully, but these errors were encountered: