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

Can't change the border width of circle point in line chart. #3049

Closed
mob-rockstar opened this issue Nov 24, 2017 · 1 comment
Closed

Can't change the border width of circle point in line chart. #3049

mob-rockstar opened this issue Nov 24, 2017 · 1 comment

Comments

@mob-rockstar
Copy link

I am going to increase the border width of circle point in line chart.
My code is followings:

    lineChartDataSet.lineWidth      = 2.0
    lineChartDataSet.circleRadius   = 5.0        
    lineChartDataSet.setColor(UIColor.red)
    lineChartDataSet.setCircleColor(UIColor.red)
    lineChartDataSet.mode = .cubicBezier

screen shot 2017-11-24 at 1 45 25 am

But I can't change the border width of circle point.
Regards

@liuxuan30
Copy link
Member

use circleHoleRadius and circleRadius to adjust the width. take a look at fileprivate func drawCircles(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