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

BalloonMarker overlapping issue #1137

Closed
ghost opened this issue Jun 14, 2016 · 1 comment
Closed

BalloonMarker overlapping issue #1137

ghost opened this issue Jun 14, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 14, 2016

Hi guys,

I am having a few issues with line chart view.

  1. The BalloonMarker not manage to show the full view on the last point.

Attached with Screenshot:
https://www.dropbox.com/s/414bavrenqnxnsg/Photo%2014-06-2016%2C%201%2022%2056%20PM.jpg?dl=0

  1. How can I change the text color of BalloonMarker, as I not manage to see any property related to label. Or BalloonMarker is actually an UIImage property?

BalloonMarker *marker = [[BalloonMarker alloc] initWithColor:[UIColor blueColor] font:[UIFont boldSystemFontOfSize:14.f] insets:UIEdgeInsetsMake(8.0, 8.0, 20.0, 8.0)];
marker.minimumSize = CGSizeMake(80.f, 40.f);
self.lcView.marker = marker;

@liuxuan30
Copy link
Member

You can take a look at ChartMarker class, that's the root class, you can derive your own. BalloonMarker is just a example. You can change anything you want

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

1 participant