Skip to content

Touch input at X,Y #845

Answered by Gowsky
Tyler-Lopez asked this question in Questions
Aug 13, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hello, @Tyler-Lopez.

Is it possible to receive a touch input callback at a given X,Y?

For charts with CartesianMarkers, this can be achieved via CartesianMarkerVisibilityListener. As mentioned in previous discussions, we plan on adding a dedicated, CartesianMarker-independent API for this. In the meantime, if you need such callbacks but don't want to have a CartesianMarker, an easy workaround is to create a CartesianMarker that doesn't draw anything.

is it possible to show the marker at all times, even without user input?

Yes, it is. Please see persistentMarkers.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Gowsky
Comment options

Answer selected by Tyler-Lopez
@Tyler-Lopez
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants