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

Change circleHoleColor for one point #3646

Closed
PeddiSravan opened this issue Sep 18, 2018 · 1 comment
Closed

Change circleHoleColor for one point #3646

PeddiSravan opened this issue Sep 18, 2018 · 1 comment

Comments

@PeddiSravan
Copy link

screen shot

let line = LineChartDataSet(values: linechartEntry1, label: "")
line.colors = [UIColor.clear]
line.circleHoleColor = UIColor.red
line.circleColors = [UIColor.blue]
line.circleRadius = 6
line.drawFilledEnabled = false
line.drawValuesEnabled = false

I am using above to draw linechart with circle. I would like to differentiate one point with other color like attached screenshot. How can we achieve the same ?

@liuxuan30
Copy link
Member

ask on stack overflow.
simple answer: override functions like drawCircles

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