You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, I really like d3.chart. Great work and nice idea.
As a new user of this library I made the mistake of not adding an insert function to a layer. It took me a while to debug the problem.
I think it would be a good idea to add an d3cAssert in Layer.prototype.draw to make sure that this layer has an insert function.
If you are happy with this idea, I can send a PR.
The text was updated successfully, but these errors were encountered:
garrensmith
changed the title
Assert that a added layer has .insert function
Assert that an added layer has .insert function
Apr 7, 2014
Hi,
First off, I really like d3.chart. Great work and nice idea.
As a new user of this library I made the mistake of not adding an insert function to a layer. It took me a while to debug the problem.
I think it would be a good idea to add an
d3cAssert
inLayer.prototype.draw
to make sure that this layer has an insert function.If you are happy with this idea, I can send a PR.
The text was updated successfully, but these errors were encountered: