rickshaw
rickshaw copied to clipboard
Guard against d3 'length' undefined error
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.
Any chance this pull request will be accepted?
Any chance this pull request will be accepted?
@djensen47 Yes; however, it would be more likely to be accepted with tests.
Hi @abirmingham,
Would you be interested in adding tests so we can get this merged?