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

setting the chartGroup should put the chart in that group #775

Closed
gordonwoodhull opened this issue Nov 28, 2014 · 0 comments
Closed

setting the chartGroup should put the chart in that group #775

gordonwoodhull opened this issue Nov 28, 2014 · 0 comments
Labels
Milestone

Comments

@gordonwoodhull
Copy link
Contributor

As noted here:

http://stackoverflow.com/questions/27167079/dc-js-groupchart-example-with-dc-redraw

setting the chartGroup does not automatically put the chart in that group, and it's necessary to register the chart manually.

https://github.com/dc-js/dc.js/blob/master/src/base-mixin.js#L997

However, if the chartGroup is specified to the constructor, the constructor will call .anchor(), which will register the chart. It's doubly weird that another setter will update what the specific setter will not.

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

1 participant