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

Guard against d3 'length' undefined error #439

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abirmingham
Copy link

Occurs when Rickshaw.Graph.render() is called with no data. Here we
simply check that scenario before calling d3. See issue #438.

This is my naive solution to the issue, however it does fix the issue in my application.

Occurs when Rickshaw.Graph.render() is called with no data. Here we
simply check that scenario before calling d3. See issue#438.
@djensen47
Copy link

Any chance this pull request will be accepted?

@wilmoore
Copy link
Contributor

Any chance this pull request will be accepted?

@djensen47 Yes; however, it would be more likely to be accepted with tests.

@wilmoore
Copy link
Contributor

Hi @abirmingham,

Would you be interested in adding tests so we can get this merged?

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.

None yet

3 participants