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 I custom draw circle in LineChart in version 3.0 ?[help] #2104

Closed
wzio opened this issue Jan 22, 2017 · 1 comment
Closed

Can I custom draw circle in LineChart in version 3.0 ?[help] #2104

wzio opened this issue Jan 22, 2017 · 1 comment

Comments

@wzio
Copy link

wzio commented Jan 22, 2017

Can I draw like this ?
image

In Charts 2.0, I override the func drawExtras(context: CGContext) in LineChartRenderer, hack the func drawCircles(context: CGContext) then just draw my own shape. It may be not a good solution but It is work.

but In Charts 3.0, I found that I can not override the function drawCircles , the drawCircles use the _xBounds which is internal. Any solution ?

@wzio
Copy link
Author

wzio commented Feb 7, 2017

I solved by combine scatter chart and line chart

@wzio wzio closed this as completed Feb 7, 2017
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