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

bug: no graph drawn on left side for small dataPointSpacing #154

Open
patLoeber opened this issue Oct 23, 2018 · 0 comments
Open

bug: no graph drawn on left side for small dataPointSpacing #154

patLoeber opened this issue Oct 23, 2018 · 0 comments

Comments

@patLoeber
Copy link

patLoeber commented Oct 23, 2018

For small dataPointSpacing, the graph is not drawn on the left side. It only draws when scrolled to the left, which then produces an ugly jumping.

This is reproduced in your example project with:
numberOfDataItems = 60 and in createDarkGraph:
linePlot.shouldFill = false
graphView.dataPointSpacing = 10

If the fill is set to true, the graph is drawn, but also creates an ugly jumping behaviour while scrolling to the left.

If leftmostPadding is set to 0, this does not happen, so it has probably something to do with padding calculations.

bildschirmfoto 2018-10-23 um 12 11 06

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