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

How to pass optional group 'name' to the chart. #37

Open
sergio91 opened this issue Mar 30, 2015 · 3 comments
Open

How to pass optional group 'name' to the chart. #37

sergio91 opened this issue Mar 30, 2015 · 3 comments

Comments

@sergio91
Copy link

Hi,

I have a very similar issue as #23. The optional value you can pass to .group([value,[name]]) isn't available via angular as far as I can see. I do not mean legend like in #23 or chart group, but I think he was talking about 'name' and not 'legend'. My problem is how do you pass a group name to the chart via angular? dc-group only accepts one value and not the second optional parameter.

Thanks,
Sergio

@TomNeyland
Copy link
Owner

@sergio91 I may need to expand the API to support this, for the time being using the strategy outlined here #15 (comment) (dc-post-setup-chart) might work.

@sergio91
Copy link
Author

@TomNeyland thank you for the quick response. Great stuff you are making here :).

@ruhley
Copy link

ruhley commented Jun 17, 2015

This has been fixed in dc.js v2.0.0 beta 10 with dc-js/dc.js#886. You can now pass an array for the group option.

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

No branches or pull requests

3 participants