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

Pulled the map function up to resolve issue with nulls in coordinate lists #65

Merged
merged 2 commits into from
Jun 26, 2012
Merged

Conversation

dump247
Copy link
Contributor

@dump247 dump247 commented Jun 18, 2012

The call to createPath in drawSeries fails if the coordinate list contains 0 or 1 coordinate and multiple nulls. I pulled the map function out of createPath and into drawSeries to filter nulls before the call to createPath so createPath is only called if the coordinate list has at least 2 real coordinates.

createPath fails if the list contains 0 or 1 coordinate and multiples nulls
oesmith added a commit that referenced this pull request Jun 26, 2012
@oesmith oesmith merged commit df2925d into morrisjs:master Jun 26, 2012
@oesmith
Copy link
Contributor

oesmith commented Jun 26, 2012

Thanks! I've merged and released this in 0.2.10.

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