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

Don't require an additional method to draw with D3 #195

Closed
mattdodge opened this issue Oct 6, 2015 · 0 comments
Closed

Don't require an additional method to draw with D3 #195

mattdodge opened this issue Oct 6, 2015 · 0 comments
Labels

Comments

@mattdodge
Copy link

There is some discussion about this on #145 already, but in order to make a D3 chart work you need to do the following:

var chart = new Epoch.Time.Line({ ... });
chart.draw();

In jQuery, no draw call is necessary. They should probably work the same (at least the D3 method should be documented if it will remain different).

@rsandor rsandor added the bug label Oct 14, 2015
rsandor added a commit that referenced this issue Oct 14, 2015
Closes #195; Charts auto-draw on construction.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants