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

Marker and long press gesture... #2656

Closed
Harmonium opened this issue Jul 31, 2017 · 4 comments
Closed

Marker and long press gesture... #2656

Harmonium opened this issue Jul 31, 2017 · 4 comments

Comments

@Harmonium
Copy link

Is it possible that a marker appears on a long press gesture and / or a tap gesture?

@liuxuan30
Copy link
Member

sure, it's up you to your gesture handler...

@Harmonium
Copy link
Author

Harmonium commented Aug 1, 2017

How do we make a marker appears? You have an example?

@Harmonium
Copy link
Author

Harmonium commented Aug 1, 2017 via email

@liuxuan30
Copy link
Member

Have you tried ChartsDemo, when you click on the line/bar, a popup will show up, that's marker. With the same concept, you can add a long press gesture and show the marker as well.

This is more like a Stack Overflow issue about how to use gesture do abc.

The code is here:

    /// draws all MarkerViews on the highlighted positions
    internal func drawMarkers(context: CGContext)

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

2 participants