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

webModlus is 1 by default, and it causes skipWebLineCount to be 0 #425

Closed
wants to merge 1 commit into from

Conversation

liuxuan30
Copy link
Member

Fix #424
webModlus is 1 by default, and it causes skipWebLineCount to be 0 and cause dead loop in drawWeb:

        let modulus = _chart.skipWebLineCount
        for var i = 0, xValCount = _chart.data!.xValCount; i < xValCount; i += modulus
        {
        ...
        }

I supposed the minimum should be 1? Is it? @danielgindi

… cause dead loop in drawWeb:

        let modulus = _chart.skipWebLineCount
        for var i = 0, xValCount = _chart.data!.xValCount; i < xValCount; i += modulus
        {
        ...
        }

I supposed the minimum should be 1.
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

Successfully merging this pull request may close these issues.

2 participants