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

Scrolling glitch #873

Closed
sochalewski opened this issue Mar 23, 2016 · 2 comments
Closed

Scrolling glitch #873

sochalewski opened this issue Mar 23, 2016 · 2 comments

Comments

@sochalewski
Copy link

I asked about it in already closed issue #430, but no answer there.

So I've got a line chart view and an issue while scrolling. I noticed that it's because of drawFilledEnabled set to true. Any idea how to fix it?

Here's my setup:

chartView.scaleYEnabled = false
chartView.scaleXEnabled = false
chartView.pinchZoomEnabled = false
chartView.doubleTapToZoomEnabled = false
chartView.xAxis.drawGridLinesEnabled = false
chartView.leftAxis.customAxisMin = 0.0
chartView.autoScaleMinMaxEnabled = false
chartView.leftAxis.drawGridLinesEnabled = false
chartView.rightAxis.enabled = false
chartView.legend.form = .Circle

And here is screencast showing what's the matter: https://dl.dropboxusercontent.com/u/5765015/glitch.mov

@liuxuan30
Copy link
Member

glitch
Just get a screenshot when the isue is happening like above.
It seems it cannot fetch the left most point out of chart, so the filling is broken, as well as the line.

What version of the library are you using? Have you tried the latest code? Recently @danielgindi has fixed and merged some related issues. I tried with ChartsDemo, it seems good. Please check.

@sochalewski
Copy link
Author

You are right, the demo works just fine.

I use recent 2.2.3 via CocoaPods, but it looks like there are changes merged after 2.2.3.
When I specify :git in my Podfile forcing recent version from GitHub to be used everything seems to be fine.
Could you please update release issued via CocoaPods, please?

Thank you for your help, @liuxuan30. Love this library :)

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