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 near edges got clipped #1251

Closed
mortyccp opened this issue Jul 14, 2016 · 2 comments
Closed

Marker near edges got clipped #1251

mortyccp opened this issue Jul 14, 2016 · 2 comments

Comments

@mortyccp
Copy link

I am using the BallonMarker. It seems that the marker will got clipped near edges. Can the api provide information about the bounds of the graph view, so that the marker got a change to decide how to handle that situation ?

@liuxuan30
Copy link
Member

I don't think marker will get clipped by the libary unless you have a bigger marker view and clipped by UIView itself.
I checked the code, drawMarkers(context: context) is after CGContextRestoreGState(context)

@liuxuan30
Copy link
Member

BTW, there is a contentRect in ChartViewHandler class, defines the chart (excluding axis area) rect

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